计算机等级考试— 二级—《C语言 》題庫下載題庫

上一題
38)有以下程序 #include #include structA {inta;charb[10];doublec;}; structAfstructAt); main) {structA a={1001,”ZhangDa”,1098.0}; a=fA;jprintf“%d,%s,%6.1fn”,a.a,a.b,a.C; } structAfstructAt) t.a=1002;strcpyt.b,”ChangRong”);t.c=1202.0;returnt;)程序运行后的输出结果是
(A)1001,ZhangDa,1098.0
(B)1001,ZhangDa,1202.0
(C)1001,ChangRong,1098.0
(D)1001,ChangRong,1202.0


38)有以下程序 #include #include structA {..-阿摩線上測驗