Why all pointers take only 2 or 4 bytes of space? Then what is the use of datatype ke

Newbie Member
22Jul2007,20:40   #1
Tech_Khalsa's Avatar
Why all pointers take only 2 or 4 bytes of space? Then what is the use of datatype keywords.
Go4Expert Founder
22Jul2007,21:02   #2
shabbir's Avatar
Pointers are address to some locations and so you need constant amount of space to define each address uniquely.

Now the keywords are kept for what type of data is pointed to by the pointer and also for determining the size of the incrementing counter when moving through the pointers.