Saturday, October 17, 2009

POINTER

BASE ADDRESS AND CONSTANT POINTER :- When an array (any data type ) is declared , the compiler allocate a base address and sufficient amount of storage to contain all the element of the array in contiguous location .The BASE ADDRESS is the location of the first element( index 0) of the array .The compiler also defines the array name as a CONSTANT POINTER to the first element .Example int num = {12 , 5 , 107 , 55 , 291 } -- here an int type array num is declared and "num" is the constant pointer that denotes the base address of &num[0].

2 comments:

  1. Hello...............................


    I feel very happy while reading your blog.I had got all the information that i am in the need so i feel very thank full to you. please update relevant information in your blog.


    While i am searching for the same in Google i had got lot of information in the other blog like your blog.


    http://www.adminkernel.com/networking-articles/

    ReplyDelete
  2. thank you for a comment .i will visit your website.

    ReplyDelete