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

Tech_Khalsa's Avatar, Join Date: Jul 2007
Newbie Member
Why all pointers take only 2 or 4 bytes of space? Then what is the use of datatype keywords.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
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.