Popular Posts

Saturday, July 19, 2008

POINTERS

POINTERS:

The pointer has a simple definition that is
A value which points towards the address of another value which is called as pointer.

Ex: int *p,a=10;
p=&a;

Here *p is a pointer where a is a variable.
here 'a' consists of a value "10" but p consists the address of
the 'a'.which means as we know the address we can know the value also.

No comments:

Post a Comment