Pointer to pointer — Study Resources & PYQs
Use of a pointer that stores the address of another pointer.
- Estimated study time: 30 minutes
Study resources
- Structure Pointer in C - GeeksforGeeks (Article) — Shows both ways of accessing members through a pointer: (*ptr).member and ptr->member. Knowing they are equivalent is worth marks.
- Pointer to Pointer in C - GeeksforGeeks (Article) — See the multi-level pointer section on this page, with the int **ptr2 = &ptr1 example. Draw the memory diagram yourself once; it makes double pointers much less intimidating.
Taught in these subjects
- COMPUTER PROGRAMMING — CST3101 · Government College of Engineering and Technology, Jammu