Infosys Interview Question

What are pointers?

Interview Answer

Anonymous

Sep 21, 2017

A pointer is a variable which stores the address of any other variable.It is represented with an asterick as a prefix with the pointer variable name (*p) and this stores the value stored in the address pointed by the given pointer. if you write the pointer name only without any asterick (p) you get the address being holded by the pointer.