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.

Related questions

0 votes
asked Mar 12, 2020 in C Plus Plus by rahuljain1
0 votes
asked Mar 12, 2020 in C Plus Plus by rahuljain1
...