Hi!
I have problem with POINTER.
I read two books but I did not understand the pointer.
I know that the & operator is unary operator that returns the address of its operand.
asigns the address of the variable y to pointer variable ptr.Code:int y=5; int *ptr; ptr=&y;
The question is:
when should we use a pointer?
why should we use a pointer?