网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
有以下程序:
程序运行后的输出结果是( )。
A.1002,ZhangDa,1202.0
B.1002,ChangRon9,1202.0
C.1001,ChangRon9,1098.0
D.1001,ZhangDa,1098.0
参考答案
更多 “ 有以下程序:程序运行后的输出结果是( )。A.1002,ZhangDa,1202.0B.1002,ChangRon9,1202.0C.1001,ChangRon9,1098.0D.1001,ZhangDa,1098.0 ” 相关考题
考题
( 37 )有以下程序#include stdio.h#include string.hstruct A{ int a; char b[10]; double c;};void f ( struct A t ) ;main (){ struct A a={1001, " ZhangDa " ,1098.0};f ( a ) ; printf ( " %d,%s,%6.1f\n " ,a.a,a.b,a.c ) ;}void f ( struct A t ){ t.a=1002; strcpy ( t.b, " ChangRong " ) ;t.c=1202.0;}程序运行后的输出结果是A ) 1001,zhangDa,1098.0B ) 1002,changRong,1202.0C ) 1001,ehangRong,1098.OD ) 1002,ZhangDa,1202.0
考题
有以下程序#inculde stdio.h#inculde string.hstrtict A{ int a;char B[10];douBle c;};void F (struct A t);main(){ struct A a ={1001,”zhangDa”,1098.0};F(a);printF(“%d,%s,%6.1F\n”,a.,a.B,a.c);void F(struct A t){ t.a=1002;strcpy(t.B,”ChangRong”);t.c=1202.0;}程序运行后的输出结果是A.1001,zhangDa,1098.0B.1002,ChangRong,1202.0C.1001,ChangRong,10980D.1002,zhangDa,1202.0
考题
有以下程序: 运行后的输出结果是( )。A.MtemoonB.AftemoonC.MorningSXB
有以下程序:运行后的输出结果是( )。A.MtemoonB.AftemoonC.MorningD.orning
考题
有以下程序:程序运行后的输出结果是( )A)1001,zhangDa,1098.0B)1002,ChangRong,1202.0C)1001,ChangRong,1098.0D)1002,zhangDa,1202.0
考题
有以下程序#includestdio.h#includestring.hstruet A{int a;char b[10];double c;};struct A f(struct A t);main( ){struct A a={1001,“ZhangDa”,1098.0);a=f(A);prinff(“%d,%S,%6.1f\n”,a.a,a.b,a.e);}struct A f(struct A t){t.a=1002;strepy(t.b,“changRong”);t.c=1202.O;return t;}程序运行后的输出结果是A.1001,ZhangDa,1098.0B.1002,ZhangDa,1202.0C.1001,ChangRong,1098.0D.1002,ChangRong,1202.0
考题
有以下程序 程序运行后的输出结果是( )。A.程序错无输出结果B.31.5C.7.5SXB
有以下程序程序运行后的输出结果是( )。A.程序错无输出结果B.31.5C.7.5D.14.0
考题
有以下程序: #includestdi0.h #includestring.h struct A {int a;char b[10];double C;); void f(struct A t); main( ) {struct A a={"1001,"ZhangDa",l098,0}; f(a);printf("%d,%S,%6.1f\n",a.a,a.b,a.c);} void f(struct A t) {t.a=1002;strcpy(t.b,"ChangRon9");t.c=1202.0;} 程序运行后的输出结果是( )。A.1001,ZhangDa,1098.0B.1002,ChangRong,1202.0C.1001,ChangRong,1098.0D.1002,ZhangDa,1202.0
考题
有以下程序: #includestdio.h #includestring.h struct A {int a;char b[10];double C;); struct A f(struct A t): main( ) {struct A a={1001,"ZhangDa",l098.0}; a=f(a);printf("%d,%S,%6.1f\n",a.a,a.b,a.c); } struct A f(struct A t) {t.a= 1002;strcpy(t.b,"ChangRon9");t.c=1202.0;return t;} 程序运行后的输出结果是( )。A.1001,ZhangDa,1098.0B.1002,ZhangDa,1202.0C.1001,ChangRong,1098.0D.1002,ChangRong,1202.0
热门标签
最新试卷