Pointers to functions — Study Resources & PYQs
Pointers that store addresses of functions and allow functions to be accessed indirectly.
- Estimated study time: 30 minutes
Study resources
- Function Pointers in C - GeeksforGeeks (Article) — The function pointer section on this page shows declaring a pointer matching a function signature, assigning the function's address, and calling through it. Read the declaration syntax slowly, it is…
- Relationship Between Arrays and Pointers - Programiz (Article) — Explains why an array passed to a function decays to a pointer, and therefore why changes made inside the function are visible to the caller. Students find this surprising until they see it here.
Taught in these subjects
- COMPUTER PROGRAMMING — CST3101 · Government College of Engineering and Technology, Jammu