+1 vote
in Class 12 by kratos

What do you mean by pointer? Explain with example.

1 Answer

+5 votes
by kratos
 
Best answer

A pointer is a variable that holds the memory address, usually the location of another variable. For example, variable ‘a’ memory is allocated at address 56000, and pointer variable ‘ptr’ can hold the address of variable ‘a’ i.e., address 56000.

...