Computer Science, asked by krishpal061, 3 months ago

bit fields cannot be used in union true or false ​

Answers

Answered by yokeshps2005
1

Answer:

Of course not, but nobody can stop you from doing this if you want to. My point is, just like gun and bullets, union and bit fields are tools and they have their purpose, uses and "abuses". So using bitfields in union, as you have written above, is perfectly valid C but a useless piece of code.

Similar questions