填空题
有下面的程序:
#include <stdio, h>
main ( )
enum team my,your=4,his,her=his+10;
prinff(" % d %d %d %d \n" ,my,your,his,her);
此程序的输出结果是
【15】
。
A) 0 1 2 3
B) 0 4 0 1 0
C) 0 4 5 1 5
D) 1 4 5 1 5
【参考答案】
C
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
以下程序运行后输出结果是 【20】 。 #include <stdio, h> main( ) int a,b,c; a=10; b:20; c=(a%b<1) ‖ (a b>1); printf( %d %d %d n ,a,b,c);
点击查看答案&解析
填空题
以下程序运行后的输出结果是 【16】 。 #include <stdio, h>#include <stating, h>void fun(char * s,int p,int k) int i; for(i=p;i<k-1;i++) s[i] =s[i+2];main( ) char s [] = abedefg ; fun(s,3 ,strlen(s) ); puts(s);
点击查看答案&解析
相关试题
以下程序运行后的输出结果是 【17】 。...
以下程序中,fun函数的功能是求3行4列二...
以下程序运行后输出结果是 【18】 。#...
以下程序运行后的输出结果是 【19】 。...