char c='A'; for(int j=7;j>=0;--j) coutj&1);

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/26 22:03:26

char c='A'; for(int j=7;j>=0;--j) coutj&1);
char c='A'; for(int j=7;j>=0;--j) coutj&1);

char c='A'; for(int j=7;j>=0;--j) coutj&1);
cout > j &1);
> 是移位运算
& 是与运算
等价于
cout > j) & 1);