单项选择题

有以下程序:
#include <stdio.h>
main()
unsigned char a,b;
a=413;
b=4&3;
printf("%d%d\n",a,b);
执行后的输出结果是( )。

A.7 0
B.0 7
C.1 1
D.43 0
<上一题 目录 下一题>
热门 试题

单项选择题
有以下程序: #include <stdio.h> void f(int v, int w) int t; t=v; v=w; w=t; main() int x=1,y=3,z=2; if(x>y) f(x,y); else if(y>z) f(y,z); else f(x,z); printf( %d,%d,%d n ,x,y,z); 执行后的输出结果( )。
A.1,2,3
B.3,1,2
C.1,3,2
D.2,3,1
单项选择题
有以下程序: #include <stdio.h> char fun(char x,char y) if(x<y) return x; return y; main() int a=’9’,b=’8’,c=’7’; printf( %c n ,fun(fun(a,b),fun(b,c))); 程序的执行结果是( )。
A.函数调用出错
B.8
C.9
D.7
相关试题
  • 下面程序的运行结果是 【18】 。 #in...
  • 下面rotate函数的功能是:将n行n列的矩阵A...
  • 有以下语句段: int n1=10,n2=2...
  • 以下sstrcpy()函数实现字符串复制,即将t...
  • 以下程序的运行结果是 【17】 。 #in...