C Programming20771 marksFunction Returning pointers
Define pointer. How do you return pointers from functions? Explain with example.
Define pointer. How do you return pointers from functions? Explain with example. [1]
A pointer is a variable that stores the memory address of another variable. Instead of holding a data value directly, it holds the location (address) where the data is stored in memory. Syntax: Example: int p; declares p as a pointer to an integer. --- A function can return a pointer by specifyin...