Medium
sizeof a struct of three 3-bit bit-fields
What does this program print?
main.cpp
#include <iostream>
struct Flags {
unsigned char a : 3;
unsigned char b : 3;
unsigned char c : 3;
};
int main() {
std::cout << sizeof(Flags) << std::endl;
}57 of 117 in C++