Advertisement

pointer addresses

Started by January 21, 2000 01:22 AM
0 comments, last by frizb 25 years, 1 month 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...
Just the base address, which is the pointer to the first variable in the struct.

This topic is closed to new replies.

Advertisement