Basic of Pointer :
Consider above Diagram :
- i is the name given for Particular memory location , Let it's Corresponding address be 65624 .
- Value stored in that variable is 5
- The address of the variable 'i' is stored in another integer variable whose name is 'j' and which is having 65522 as its corresponding address .
- We can write , j = & i ;(i.e j stores address of i )
- Here j is not ordinary variable , It is special variable and called pointer variable as it stores the address of the another ordinary variable
Note :
- Pointer variable stores the address of the Ordinary variable
- Pointer variables are declared as int *j;
- j contain the address of i

0 Comments:
Post a Comment
Your Feedback :This is Growing Site and Your Feedback is important for Us to improve the Site performance & Quality of Content.Feel Free to contact and Please Provide Name & Contact Email