Pointer in C Language – tccicomputercoaching.com

Page 1

Pointer in C Language – tccicomputercoaching.com Definition: A pointer is a variable that stores the address of another variable. Unlike other variables that hold values of a certain type, pointer holds the address of a variable.

For example, int a=10; int *p; p=&a; Here, p is pointer variable which stores the address of variable. Variable a stores the value 10. Address of a is suppose 5000. This address is stored in pointer p which is value of p. There may be chain.Address of p is stored in another variable q. So, q is pointer of p. To learn more in detail about pointer and C language at TCCI. Call us @ 9825618292 Visit us @ www.tccicomputercoaching.com


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.