26 執行下列 C 程式的輸出為何?

phpF613Dl


(A)98 99
(B)99 98
(C)98 100
(D)98 98

答案:登入後查看
統計: A(86), B(57), C(67), D(289), E(0) #1625118

詳解 (共 3 筆)

#2650129
s1.score1 =98而把 s2的 ...
(共 74 字,隱藏中)
前往觀看
13
0
#5538276

struct Score{int score1,score2,score3;}
s1={98,99,100}, s2={99,100,98},*p; 
printf("%d",s1.score1);                    
 /印出s1的score1為98
p=&s2;
printf("%d",p->score3);
 /印出p指向s2的score3為98

4
0
#2337772

求解釋


2
0