2077 9

BIT102 ยท 2077 ยท 5 marks

What is pointer? Illustrate the use of a double pointer with suitable example.

What is pointer? Illustrate the use of a double pointer with suitable example. [5]

C ProgrammingChapter 8: Pointers and Dynamic MemoryDouble pointers

A pointer is a variable that stores the memory address of another variable rather than storing a direct value. Syntax: Example: - &x gives the address of variable x - p gives the value at the address stored in p (dereferencing) --- A double pointer is a pointer that stores the address of another ...