adplus-dvertising
frame-decoration

Question

The reason for using pointers in a C program is

a.

Pointers allow different functions to share and modify their local variables.

b.

To pass large structures so that complete copy of the structure can be avoided.

c.

Pointers enable complex data structures like linked lists and binary trees.

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. The reason for using pointers in a C program is

Similar Questions

Discover Related MCQs

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?

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

Q. What is the need for C arrays?

Q. What is a multidimensional array in C Language?

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

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

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