Hat are the merits and demerits of using pointers over arrays ? Explain.
Answers
Answered by
8
Advantages of Pointer over Array: Allows you to implement sharing without copying, i.e., pass by reference. Good for handling big arrays as arguments to functions. ... Pointers are great when implementing complex data structures like TREE, LINKED LIST, QUEUE, STACK, etc.
Similar questions