Q: What do the following declaration signify?
int *ptr[30];
Options:
A: ptr is a pointer to an array of 30 integer pointers.
B: ptr is a array of 30 pointers to integers
C: ptr is a array of 30 integer pointers
D: ptr is a array of 30 pointers
Answer: B
int *ptr[30];
Options:
A: ptr is a pointer to an array of 30 integer pointers.
B: ptr is a array of 30 pointers to integers
C: ptr is a array of 30 integer pointers
D: ptr is a array of 30 pointers
Answer: B
No comments:
Post a Comment