Question: struct abc { int d; int m; int y; }date; if i use bit fields and suppose 33 bits are taking both date.d and date.m
struct abc { int d; int m; int y; }date; if i use bit fields and suppose 33 bits are taking both date.d and date.m together and date.m taking 16 bit than a new block of 32 bit memory created for storing 1 bit of date.d and date.m than did compiler will allocates remaing memory to date.y
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
