A short integer occupies 2 bytes, an ordinary integer 4 bytes and a lo

Loading

โœช Choose the correct option.

A short integer occupies 2 bytes, an ordinary integer 4 bytes and a long integer occupies 8 bytes of memory.

A structure is defined as


struct TAB {

short a;

int b;

long c;

} TABLE [10];


Then the total memory requirement for TABLE is

A. 14
B. 140
C. 40
D. 24

Leave a Comment