单项选择题

有如下程序 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.0
<上一题 目录 下一题>
热门 试题

单项选择题
下面能正确定义数组,并正确赋值的语句是_______。
A.int N=5,b
B.int a[1][2]={{1},{3}}
C.int c[2][]={{1,2},{3,4}}
D.int d[3][2]={{1,2},{34}}
单项选择题
下列选项中不能正确定义结构体的是_______。
A.typedef struct
B.struct color cl {int red; {int red; int green; int green; int blue; int blue; }COLOR; }; COLOR cl;
C.struct color
D.struct {int red; {int red; int green; int green; int blue; int blue; }cl; }cl;
相关试题
  • 有以下程序 #include<stdio.h> main...
  • 运行以下程序后,如果从键盘上输入china#...
  • C语言中下列叙述正确的是_______。
  • 下列程序段中,不是死循环的是_______。
  • 软件生命周期中所花费用最多的阶段是___...