1.

How do we initialize a pointer?

Answer»

The initialisation of pointer: 

Pointer variable = &variable; 

For example; int a, *ptr; ptr = &a; 

From the above, address of variable ‘a’ is assigned to variable ‘ptr’.



Discussion

No Comment Found

Related InterviewSolutions