TCCI-Tririd Computer coaching institute is a leading computer institute in bopal-ahmedabad. We aim to provide World Class Learning Environment in Latest Software & IT Computer Courses.
We offer c language at TCCI, bopal-ahmedabad.
A pointer is a variable which contains the address of another variable. The unary operator & gives the ``address of a variable''.
i.e. int a=10; // Declaration of int variable a
int *p; // Declaration of pointer variable p
p=&a; //now assign address of a variable to the p pointer .
p
address | variable |
5000 | a=10 |
We can do integer arithmetic on a pointer like ++*p;
No comments:
Post a Comment