I'm running the following prog :
If I run it with line 1 in comments the output is 4.OK for that.Code:#include <stdio.h> struct customer { short number; // 1: int postcode; // 2: }; int main() { printf("%d\n",sizeof(customer)); }
If I run it with line 2 in comments the output is 2.OK for that too.
But if i run as it is above the outout is 8.Why is that?
Thank you in advance.