What are the demerits of using pointer over array and explain?
Answers
Answered by
1
What are the demerits of using pointer over array and explain?
answer: 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 allow to use dynamic memory allocation.
Similar questions