单项选择题
有以下程序: float fun(int x,int y) {return(x+y);} main( ) { int a=2,b=5,c=8; printf("%3.Of\n",fun( (int)fun(a+c,b),a-c) ); } 程序运行后的输出结果是( )。
A.编译出错
B.9
C.21
D.9
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
某二叉树中有n个度为2的结点,则该二叉树中的叶子结点数为【 】。
A.n+l
B.n-1
C.2n
D.n/2
点击查看答案&解析
单项选择题
以下选项中不能正确把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;
点击查看答案
相关试题
有以下程序:#include <string.h>stru...
有以下程序main(int argc,char *argv...
有以下程序:main( ){ int x[ ]=...
有以下程序:struct STU{ char name[...
数据库DB、数据库系统DBS、数据库管理系统D...