adplus-dvertising
frame-decoration

Question

Which of the following comments about arrays and pointers is/are not true?

a.

Both are exactly same

b.

Array is a constant pointer

c.

Pointer is an one-dimensional and dynamic array

d.

All of these

Posted under C Programming

Answer: (d).All of these

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following comments about arrays and pointers is/are not true?

Similar Questions

Discover Related MCQs

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

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?

Q. The information about an array used in program will be stored in

Q. An array elements are always stored in ________ memory locations.?

Q. Let x be an array. Which of the following operations are illegal?

I. ++x
II. x+1
III. x++
IV. x*2

Q. The reason for using pointers in a C program is

Q. How can you write a[i][j][k][l] in equivalent pointer expression?

Q. What is wild pointer?

Q. Comment on this:
const int *ptr;

Q. Choose the best one.
Prior to using a pointer variable

Q. Are the three declarations char **apple, char *apple[], and char apple[][] same?

Q. Is the NULL pointer same as an uninitialised pointer?

Q. What is an Array in C language?

Q. Choose a correct statement about C language arrays.

Q. What are the Types of Arrays?

Q. An array Index starts with

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

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

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

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