Answers for "c create 1 bit value"

C++
0

c create 1 bit value

// 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;
Posted by: Guest on September-27-2021

Browse Popular Code Answers by Language