![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a small doubt in the following program.Upon execution,the program shows that size of structure variable is 20 whereas size of its individual elements is 4,4,4,1 and 4.If we add the size of individual elements we get the total as 17.Then how come the size of the structure varialble is 20?(The program gives the same ans. on linux as well as WINDOWS(VC++)). |
![]() |
| Thread Tools | |
| Display Modes | |
| |