C Programming - Typedef - Discussion

Discussion Forum : Typedef - General Questions (Q.No. 3)
3.
What is x in the following program?
#include<stdio.h>

int main()
{
    typedef char (*(*arrfptr[3])())[10];
    arrfptr x;
    return 0;
}
x is a pointer
x is an array of three pointer
x is an array of three function pointers
Error in x declaration
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
14 comments Page 2 of 2.

Prasad said:   1 decade ago
I do not understand please explain it.

Mtb said:   1 decade ago
If one can give a more detailed description for this, I would appreciate it.

Rajneesh kumar said:   1 decade ago
Its pointer of pointer concept so which gives value.

So arrays of three function pointer.

Murari jaiswal said:   1 decade ago
*(*
means pointer to pointer which gives value

so arrays of three function pointer


Post your comments here:

Your comments will be displayed after verification.