C='5';
Int b [8];
For (int I=0; i<8; I++)
{
[I]=(b (c & gt;> I) & amp; 1);
cout
}
1
0
1
0
1
1
0
0
CodePudding user response:
Character is the ASCII code of 5 0 x35, binary is 0011 0101
Because you started the output bits, you read off your application again
CodePudding user response: