Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Why all pointers take only 2 or 4 bytes of space? Then what is the use of datatype ke (http://www.go4expert.com/forums/pointers-2-4-bytes-space-datatype-ke-t5388/)

Tech_Khalsa 22Jul2007 20:40

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

shabbir 22Jul2007 21:02

Re: Why all pointers take only 2 or 4 bytes of space? Then what is the use of datatype ke
 
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.


All times are GMT +5.5. The time now is 00:00.