What will be the output of this ?
struct abc{
char i[5];
char b[8];
int j ;
};
struct abc s1;
According to me it should be 1 * 5 + 1 * 8 + 4 bytes = 17 bytes
When I do sizeof(s1)
it shows 20 ! Why?
What will be the output of this ?
struct abc{
char i[5];
char b[8];
int j ;
};
struct abc s1;
According to me it should be 1 * 5 + 1 * 8 + 4 bytes = 17 bytes
When I do sizeof(s1)
it shows 20 ! Why?