RejinpaulPlacement
Search

Complicated Declarations - C Programming Questions and Answers - RejinpaulPlacement

@ : Home > C Programming > Complicated Declarations


Find us on Facebook



Follow us on Google+


Google+

1.
What do the following declaration signify?
char *scr;
Answer & Solution
Answer: (C) scr is a pointer to char
Solution:
No answer description available for this question. Let us discuss.
close
2.
What do the following declaration signify?
char **argv;
Answer & Solution
Answer: (B) argv is a pointer to a char pointer.
Solution:
No answer description available for this question. Let us discuss.
close
3.
Declare the following statement?
"A pointer to a function which receives an int pointer and returns float pointer".
Answer & Solution
Answer: (C) float *(*ptr)(int)
Solution:
No answer description available for this question. Let us discuss. close
4.
What do the following declaration signify?

void *cmp();
Answer & Solution
Answer: (C) cmp is a function that return a void pointer.
Solution:
No answer description available for this question. Let us discuss.
close
5.
Declare the following statement?
"A pointer to a function which receives nothing and returns nothing".
Answer & Solution
Answer: (D) void (*ptr)()
Solution:
No answer description available for this question. Let us discuss.
close