adplus-dvertising
frame-decoration

Question

Choose a correct statement about a Multidimensional array and pointer.

a.

int *ptr[N] is an array of N integer pointers. Size is N * sizeof(1*int).

b.

int (*ptr)[N] is a pointer to an array of N elements. Size of ptr is size of 1 integer.

c.

An multidimensional array or a single dimensional array can contain pointer elements.

d.

All of the above

Answer: (d).All of the above

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Choose a correct statement about a Multidimensional array and pointer.

Similar Questions

Discover Related MCQs

Q. A multidimensional array of dimension N is a collection of

Q. Choose a correct statement about a C Multidimensional array.

Q. Array of Arrays is also called

Q. Difference between C Arrays, ary[10] and cry[10][10] is

Q. Choose correct statement about C array pointers.

Q. Choose a correct statement with array pointers.

Q. What is the dimension of the C array int ary[10][5]?

Q. What is the syntax of CALLOC to allocate memory to an array at runtime.?

Q. Choose a correct Syntax for malloc() function to allocate memory to an array at run time.

Q. What is the function used to allocate memory to an array at run time without initializing array elements?

Q. What is the function used to allocate memory to an array at run time with Zero initial value to each?

Q. If an integer array pointeris incremented, how many bytes will be skipped to reach next element location?

Q. What is a multidimensional array in C Language?

Q. What is the need for C arrays?

Q. Can we change the starting index of an array from 0 to 1 in any way?

Q. What happens when you try to access an Array variable outside its Size?

Q. What is the value of an array element which is not initialized?

Q. An entire array is always passed by ___ to a called function.

Q. What is an array Base Address in C language?

Q. An array Index starts with