Question: Declare the following statement? "A pointer to an array of three chars".
Options
A : char *ptr[ 3 ]();
B : char (*ptr)*[ 3 ];
C : char (*ptr[ 3 ])();
D : char (*ptr)[ 3 ];
Click to view Correct Answer
Complicated Declarations - General Questions more questions
What will happen if in a C program you assign....
What does the following declaration mean? int (*ptr)[10];
In C, if you pass an array as an argument....
Declare the following statement? "An array of three pointers to....
What do the following declaration signify?
What do the following declaration signify?
What do the following declaration signify?
Declare the following statement? "A pointer to a function which....
What do the following declaration signify?
Declare the following statement? "A pointer to a function which....
Arrays - General Questions more Online Exam Quiz
OOPS Concepts - General Questions
References - General Questions
Control Instructions - General Questions