Wednesday, May 26, 2010

oop class today

Pointer is always an integer, and takes 4 bytes; but it points to different data types.
When pointer increase by 1, it moves to next address according different data types, like int adds 4, double adds 8.

No comments:

Post a Comment