pointer addresses

Started by
0 comments, last by frizb 24 years, 3 months ago
Easy question. When a pointer points to a structure, does it hold just the address of the first data member or does it hold the address for each data member For instance: struct POINT { int x; int y; } What would a pointer hold? Just the base address? Still Learning...
Still Learning...
Advertisement
Just the base address, which is the pointer to the first variable in the struct.

This topic is closed to new replies.

Advertisement