[LC++]Size of structure pointer/array
Manu Anand
badboyanand at yahoo.com
Thu Aug 30 16:47:12 UTC 2001
Hello Paul
Two important points:-
1. 1-D arrays are passed by pointer to first
element.2-D by pointer to first array and so on.
2. You cannot make any assumption about sizeof struct
as the compiler is free to align it anyway it prefers.
HTH
-Manu
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
More information about the tuxCPProgramming
mailing list