Q: What does the following declaration mean?
int (*ptr)[10];
Options:
A: ptr is array of pointers to 10 integers
B: ptr is a pointer to an array of 10 integers
C: ptr is an array of 10 integers
D: ptr is an pointer to array
Answer: B
int (*ptr)[10];
Options:
A: ptr is array of pointers to 10 integers
B: ptr is a pointer to an array of 10 integers
C: ptr is an array of 10 integers
D: ptr is an pointer to array
Answer: B
No comments:
Post a Comment