0 votes
in C Plus Plus by
What are the uses of a pointer in C Language?

1 Answer

0 votes
by

Pointer is used in the following cases

i) It is used to access array elements

ii) It is used for dynamic memory allocation.

iii) It is used in Call by reference

iv) It is used in data structures like trees, graph, linked list etc.

...