Memory Organization for Pointer Variable in C Programming

January 7, 2012 2 Comments » Hits : 294





Memory Organization

  1. When we use variable in program then Compiler keeps some memory for that variable depending on the data type
  2. The address given to the variable is Unique with that variable name
  3. When Program execution starts the variable name is automatically translated into the corresponding address.

Explanation :

  1. Pointer Variable is nothing but a memory address which holds another address .
  2. In the above program “i” is name given for memory location for human understanding , but compiler is unable to recognize “i” . Compiler knows only address.

Incoming search terms:

  • rakesh

    pritesh g i want to learn c and c++ with great knowledge if you want to interested with me so plz mail me for give your response

    • Pritesh

      how could i help you ? What you expect from me ?