填空题
请在以下程序第一行的下划线处填写适当内容,使程序能正确运行。
【16】
(double,double);
main()
double x,y;
scanf("%1f%1f",&x,&y);
printf("%1f\n",max(x,y));
double max(double a,double b)
return(a>b a:b);
【参考答案】
double max
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
下面程序的运行结果是 【17】 。 typedef union student char name[10]; long sno; char sex; float score[4]; STU; main() STU a[5]; printf( %d n ,sizeof(a));
点击查看答案&解析
填空题
已有定义如下: struct node int data; struct node *next; *p; 以下语句调用malloc函数,使指针p指向一个具有struct node类型的动态存储空间。请填空。 p=(struct node *)malloc( 【19】 );
点击查看答案&解析
相关试题
有以下程序: main() char k; int ...
以下程序运行后的输出结果是 【18】 。...
(48)~(50)以下程序的功能是:建立...
以下程序的功能是将字符串s中的数字字符放...