单项选择题

有以下计算公式


若程序前面已在命令中包含math.h文件,不能够正确计算上述公式的程序段是( )。

<上一题 目录 下一题>
热门 试题

单项选择题
有以下程序 #include<stdio.h> Struct tt int x;struct tt*y;*p; struct tt a[4]=20,a+1,15,a+2,30,a+3,17,a; main() int i; p=a: for(i=1;i<=2;i++)printf( %d, ,p->x);p=p->y; 程序的运行结果是( )。
A.20,30,
B.30,17,
C.15,30,
D.20,15,
单项选择题
有以下程序 #include<stdio.h> void fun(char**p) ++p;printf( %s ,*p); main() char*a[]= Morning , Afternoon , Evening , Night ); fun(a): 程序的运行结果是( )。
A.Afternoon
B.fternoon
C.Morning
D.orning
相关试题
  • 有以下程序 #include<stdio.h> Struc...
  • 有以下程序 #include<stdio.h> int ...
  • 有以下程序 #include<stdio.h> void...
  • 有以下程序 #include<stdio.h> int ...
  • 有以下程序 #include<stdio.h> main...