单项选择题
有以下程序: main( ) { unsigned int a; int b=-1; a=b; printf("%u",a); } 程序运行后的输出结果是( )。
A.-1
B.65535
C.32767
D.-32768
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
有以下程序:main(){int a,b,d=25;a=d 10%9;b=a&&(-1);printf( %d,%d n ,a,b);}程序运行后的输出结果是【 】。
A.6,1
B.2,1
C.6,0
D.2,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;
点击查看答案
相关试题
以下程序运行后的输出结果是【 】。int f...
以下函数sstrcat()的功能是实现字符串的...
有以下程序void f( int y,int *x)...
有以下程序:#include<stdio.h>main(...
有以下程序,其功能是:以二进制 写 方式...