Complicated Declarations

Q1: What do the following declaration signify?
int *ptr[30];

A ptr is a array 30 pointers.

B ptr is a pointer to an array of 30 integer pointers.

C ptr is a array of 30 pointers to integers.

D ptr is a array of 30 integer pointers.

ANS:A - ptr is a pointer to an array of 30 integer pointers.

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.