C-Complicated Declarations MCQ Questions and Answers
C Complicated Declarations MCQ questions with answers help students master the tricky syntax and structure of the C language. In C programming, complex declarations involving pointers, arrays, and functions often confuse beginners during interviews and tests. This topic is essential for students preparing for placement drives, coding interviews, and competitive exams like TCS NQT, Infosys, and Wipro. Practicing these programming questions and answers will strengthen your understanding of declaration rules, precedence, and operator binding. Download C programming MCQs with solutions in PDF format and take free online tests to boost your programming logic and syntax clarity.
C-Complicated Declarations MCQ
Showing 10 of
32 questions
21. Meaning of: int *(*(*arr[5])())();
- Array of function pointers
- Array of 5 pointers to functions returning pointer to function returning pointer to int
- Pointer to array of functions
- Complex invalid declaration
22. What is: void (*fp)(int, float);
- Function taking pointer parameters
- Pointer to function taking int and float, returning void
- Array of function pointers
- Function returning void pointer
23. Interpret: char (*(*x[3])())[5];
- Array of pointers to arrays
- Pointer to array of function pointers
- Array of 3 pointers to functions returning pointer to array of 5 chars
- Invalid declaration
24. What does: int (*p[5])(); declare?
- Pointer to array of functions
- Array of 5 integers
- Array of 5 pointers to functions returning int
- Function returning array
25. Meaning of: double *(**ptr)[10];
- Pointer to array of doubles
- Pointer to pointer to array of 10 pointers to double
- Array of pointers to double
- Double pointer to array
26. What is: int (*(*(*func)())[5])();
- Function returning array of pointers
- Pointer to function returning pointer to array of 5 pointers to functions returning int
- Array of function pointers
- Invalid complex declaration
27. Interpret: void (*(*array[5])())(int);
- Array of function pointers
- Array of 5 pointers to functions returning pointer to function taking int and returning void
- Pointer to array of functions
- Function returning array
28. What does: char (**p[10])(int); declare?
- Array of function pointers
- Pointer to array of pointers
- Array of 10 pointers to pointers to functions taking int and returning char
- Invalid declaration
29. Meaning of: int (*(*(*foo)[5])())[10];
- Pointer to array of function pointers
- Pointer to array of 5 pointers to functions returning pointer to array of 10 integers
- Array of pointers to arrays
- Function returning pointer to array
30. What is: float *(*(*ptr)())[5];
- Pointer to array of floats
- Pointer to function returning pointer to array of 5 pointers to float
- Array of function pointers
- Function returning pointer