c Utwórz wartość 1 bitową

// Remember, the data type of the member variable needs to be unsigned, 
// as you only need to store 0 and 1.

typedef struct foo
{
    unsigned x:1;
} foo;
Lonely Lark