网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

下列程序的输出结果是 【11】 , 【12】 。

#include <math.h>

main()

{ float a=-1.3;b=1.3;

printf("%f,%f",fabs(a),fabs(b);}


参考答案

更多 “ 下列程序的输出结果是 【11】 , 【12】 。#include math.hmain(){ float a=-1.3;b=1.3;printf("%f,%f",fabs(a),fabs(b);} ” 相关考题
考题 以下程序的输出结果是()includeincludemain(){char str[12]={'s','t','r', 以下程序的输出结果是( ) #include<stdio.h> #include<string.h> main() {char str[12]={'s','t','r','i','n','g'}; printf("%d\n",strlen(str)); }A.6B.7C.11D.12

考题 以下程序的输出结果为______。 include main() { int m=7,n=4; float a=20.0,b=10.0,x; 以下程序的输出结果为______。 #include<stdio.h> main() { int m=7,n=4; float a=20.0,b=10.0,x; x=m/2+n*a/b+1/4; printf("%f\n",x); }A.11B.11C.11.25D.11.75

考题 以下程序的输出结果是( )。 main { int a=3: printf("%d\n",(a+a-=a*a)); }A.-6B.12S 以下程序的输出结果是( )。 main { int a=3: printf("%d\n",(a+a-=a*a)); }A.-6B.12C.0D.-12

考题 以下程序的输出结果是()。includeinclude main(){char str[12]={'s','t','r 以下程序的输出结果是( )。 #include <stdio.h> #include <string.h> main() { char str[12]={'s','t','r','i','n','g'}; printf("%d\n",strlen(str) ); }A.6B.7C.11D.12

考题 以下程序的输出结果是______。 main() { char str[12]={'s','t','r','i','n','g'}; printf("%d\n",strlen(str)); }A.6B.7C.11D.12

考题 以下程序的输出结果是______。 main() { char str[12]={'s','t','r','i','n','g'}; printf("%d/n",strlen(str)); }A.6B.7C.11D.12

考题 下列程序的输出结果是______。includedefine FUDGE(y)2.84+ydefine PR(a)printf("%d" 下列程序的输出结果是______。#include<stdio.h>#define FUDGE(y) 2.84+y#define PR(a) printf("%d",(int)(a))#define PRINTl(a) PR(a);putchar('\n')main (){ int x=2; PRINT1(FUDGE(5)*x);}A.11B.12C.13D.15

考题 下列语句中正确的是______。A.byte a222=422;B.Float a64=new Float(1.0);C.float a=1.3eD.Byte al5=12;

考题 下列程序的输出结果是(). main() {int a=11; printf("%dn",++a); }A.12B.11C.10D.9