Question
int (*p) [5];
means
a.
p is a one dimensional array of size 5, of pointers to integers
b.
p is a pointer to a 5 element integer array
c.
the same as int *p[5];
d.
none of the above
Posted under C Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. The declaration int (*p) [5]; means
Similar Questions
Discover Related MCQs
Q. Consider the declaration
int a = 5, *b = &a;
The statement
printf("%d", a * b);
prints
View solution
Q. calloc(m, n); is equivalent to
View solution
Q. If p is a pointer to an integer and t is a pointer to a character then sizeof (p) will be
View solution
Q. Which of the following comments about arrays and pointers is/are not true?
View solution
Q. A one dimensional array A has indices 1....75. Each element is a string and takes up three memory words. The array is stored at location 1120 decimal. The starting address of A[49] is
View solution
Q. What will be the address of the arr[2][3] if arr is a 2-D long array of 4 rows and 5 columns and starting address of the array is 2000?
View solution
Q. The information about an array used in program will be stored in
View solution
Q. An array elements are always stored in ________ memory locations.?
View solution
Q. Let x be an array. Which of the following operations are illegal?
I. ++x
II. x+1
III. x++
IV. x*2
View solution
Q. The reason for using pointers in a C program is
View solution
Q. How can you write a[i][j][k][l] in equivalent pointer expression?
View solution
Q. What is wild pointer?
View solution
Q. Comment on this:
const int *ptr;
View solution
Q. Choose the best one.
Prior to using a pointer variable
View solution
Q. Are the three declarations char **apple, char *apple[], and char apple[][] same?
View solution
Q. Is the NULL pointer same as an uninitialised pointer?
View solution
Q. What is an Array in C language?
View solution
Q. Choose a correct statement about C language arrays.
View solution
Q. What are the Types of Arrays?
View solution
Q. An array Index starts with
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!