C-Complicated Declarations MCQ Questions and Answers
Practice ModeShowing 10 of 32 questions
Q1
Declare the following statement?
"An array of three pointers to chars".
Answer: Option B
Q2
What do the following declaration signify?
int *ptr[30];
Answer: Option B
Q3
Declare the following statement?
"A pointer to an array of three chars".
Answer: Option D
Q4
What do the following declaration signify?
char *arr[10];
Answer: Option A
Q5
What do the following declaration signify?
int (*pf)();
Answer: Option C
Q6
Declare the following statement?
"A pointer to a function which receives an int pointer and returns float pointer".
;
Answer: Option C
Q7
What do the following declaration signify?
void *cmp();
Answer: Option C
Q8
Declare the following statement?
"A pointer to a function which receives nothing and returns nothing".
Answer: Option D
Q9
What do the following declaration signify?
int *f();
Answer: Option B
Q10
What do the following declaration signify?
void (*cmp)();
Answer: Option D