单项选择题

设有定义语句:char c1=92,c2=92;,则以下表达式中值为零的是( )。

A.c1^c2
B.c1&c2
C.~c2
D.c1|c2
<上一题 目录 下一题>
热门 试题

单项选择题
有以下程序段int m=0,n=0; char c=''a'';scanf( %d%c%d ,&m,&c,&n);printf( %d,%c,%d n ,m,c,n);若从键盘上输入:10A10,则输出结果是( )。
A. 10,A,10
B. 10,a,10
C. 10,a,0
D. 10,A,0
单项选择题
以下选项中不能正确把c1定义成结构体变量的是( )。
A.typedef struct   { int red;    int green;    int blue;   } COLOR;      COLOR cl;
B.struct color cl   { int red;   int green;    int blue;   }
C.struct color   { int red;   int green;   int blue;   } cl;
D.struct   { int red;    int green;    int blue;   } cl;
相关试题
  • 下列工具中为需求分析常用工具的是( )。
  • 尔排序属于( )。
  • 在数据库设计中,将E-R图转换成关系数据模...
  • 分布式数据库系统不具有的特点是( )。
  • 下列叙述中,不属于结构化程序设计方法的主...