How much percentage of memory will be saved if we use bit-fields for the given C structure as compared to when we don’t use bit-fields for this very structure? (Assume the size of int to be 4).


struct temp

{

int m : 1;

int n : 2;

int o : 4;

int p : 4;

}s;

Posted on by