Let’s have a discussion about this problem and get the answer here http://www.indiabix.com/online-test/c-programming-test/14
11. If a char is 1 byte wide, an integer is 2 bytes wide and a long integer is 4 bytes wide then will the following structure always occupy 7 bytes?
struct ex
{
char ch;
int i;
long int a;
};
- A. Yes
- B. No