|
Pointers in C Interview Questions & Answers
Below we have listed all the Pointers in C Interview Questions and answers. Feel free to comment on any Pointers in C Interview Questions or answer by the comment feature available on the page.
To buy an eBook containing 30,000 Interview Questions, with Answers, Click Here.
View All Pointers in C Interview Questions & Answers - Exam Mode /
Learning Mode
|
A pointer is a variable which contains the address in memory of another variable. We can have a pointer to any variable type. The unary or monadic operator & gives the ``address of a variable''. The indirection or dereference operator * gives the ``contents of an object pointed to by a pointer''.
A pointer is a variable whose value is the address of another variable, i.e., direct address of the memory location. Like any variable or constant, you must declare a pointer before using it to store any variable address.
|
|