单项选择题

设有以下语句:
char a=3,b=6,c;
c=a^b<<2;
则c的二进制值是( )。

A.00011011
B.00010100
C.00011100
D.00011000
<上一题 目录 下一题>
热门 试题

单项选择题
请读程序: #include <stdio.h> main() int a,b; for(a = 1,b = 1 ;a <= 100;a++) if(b>=20) break; if(b%3 ==1) b +=3;continue; b-=5; printf( %d n ,
A.;
&n
单项选择题
以下程序的输出结果是( )。 #include <stdio.h> #include <string.h> main() char str[12]='s','t','r','i','n','g'; printf( %d n ,strlen(str) );
A.6
B.7
C.11
D.12
相关试题
  • 有以下程序: #include <stdio.h> m...
  • 请选出以下程序的输出结果( )。 #incl...
  • 请读程序: #include <stdio.h> fun...
  • 读程序: #include <stdio.h> f(in...
  • 已知字符0的ASCII码为十六进制的30,现...