help with arrays

With this old hardware (32-bit PC) running legacy software on an obsolete OS I boot Linux to get online so,

please bear with unchecked work here, I already had to change
if ( x == true )
to
if ( x != false )
but rebootng twice to make sure is a real pain.

Suppose I have 12 true or false choices and I store them in bit 0 to bit 11 of an unsigned int variable.
Arduino unsigned int is named "word", and unsigned char is named "byte".

word myBits = 0; // 0 is the default, but I show it here for the humans to be sure.

...... and somewhere in the code that initial 0 changes as bits change -- see the bitWrite() function.
...... and then somewhere I want to show what the bit values are.....

for ( byte i = 0; i < 12; i++ ) // justy showing HOW to get to the bits using Arduino bitRead() function.
{
Serial.print( "Bit " );
Serial.print( i );
Serial.print( " is " );
if ( bitRead( myBits, i )) // get the true or false from the bit
{
Serial.println( "1" );
}
else
{
Serial.println( "0" );
}
}

C provides functions to deal with all those bits as a group. But heck, if any bits are not zero then the variable holding them all is also not zero. You can turn the nature of variables to your advantage once you get the commands down and save many lines of code.