单项选择题

有下列程序:
int fun1(double a)(return a*=a;)
int fun2(double x,double y)
double a=0,b=0;
a=fun 1(x); b=fun 1(y);return(int)(a+b);

main()
double w;w=fun2(1.1,2.0),……
程序执行后变量w中的值是( )。

A.5.21
B.5
C.5.0
D.0.0
<上一题 目录 下一题>
热门 试题

单项选择题
A.q->next=r->next;p->next=r;r->next=q;B.q->next=r;q->next=r->next;r->next=q;C.q->next=r->next;r->next=q;p->next=r;D.q->next=q;p->next=r;q->next=r->next;
A.q->next=r->next;p->next=r;r->next=q;
B.q->next=r;q->next=r->next;r->next=q;
C.q->next=r->next;r->next=q;p->next=r;
D.q->next=q;p->next=r;q->next=r->next;
单项选择题
有以下程序: #define f(x)(x*x) main() int i1,i2; i1=f(8) f(4);i2=f(4+4) f(2+2); printf( %d,%d n ,i1,i2); 程序运行后的输出结果是______。
A) 64,28
B) 4,4
C) 4,3
D) 64,64
相关试题
  • 以下程序中函数huiwen的功能是检查一个字符...
  • 若有定义doublea[5];,则a数组元素下标...
  • 下面程序运行后的输出结果是______。...
  • 有下列程序: #include <stdio.h> m...
  • 在内存中,存储字符’x’要占用1个字节,...