C Pointer - C programming (MCQ) questions for Q. 27513

Q.  What is x in the following program?

#include<stdio.h>
int main()
{
     typedef char (*(*arrfptr[3])())[10];
     arrfptr x;
     return 0;
}

- Published on 26 Feb 17

a. x is a pointer
b. x is an array of three pointer
c. x is an array of three function pointers
d. Error in x declaration

ANSWER: x is an array of three function pointers

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)