hi welcome in computer's world.Here you get the information about computer programing language such as C,c++ java, Data structure, visual basic and many more . You also find computer hardware,computer networking,database management system related things and its study.
Showing posts with label base address. Show all posts
Showing posts with label base address. Show all posts
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].
Labels:
base address,
constant pointer,
pointer,
pointer in C
Subscribe to:
Posts (Atom)