Is it possible to use array of bit fields?
No, you can’t. Bit field can only be used with integral type variables. C11-§6.7.2.1/5 A bit-field shall have a type that is a qualified or unqualified version of _Bool, signed int, unsigned int, or some other implementation-defined type. Alternatively you can do this struct st { unsigned int i: 4; } arr_st[5]; but its size … Read more