Right Click to Search

Friday, January 1, 2025

Pointer Basic Concept


Basic of Pointer :

 
Consider above Diagram :
  1. i  is the name given for Particular memory location , Let it's Corresponding address be 65624 .
  2. Value stored in that variable is 5 
  3. 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 .
  4. We can write , j = & i ;(i.e j stores address of i )
  5. 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 :
  1. Pointer variable stores the address of the Ordinary variable
  2. Pointer variables are declared as         int   *j;
  3. j contain the address of i

Bookmark & Share

Tags / Keywords : |

Stumble
Delicious
Technorati
Twitter
Facebook

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

 

Learn C Programming Copyright © 2010 LKart Theme is Designed by Lasantha, Free Blogger Templates