40執行下列 C 程式後,產生的輸出為何? (A)a = 5, b = 10..-阿摩線上測驗
40 執行下列 C 程式後,產生的輸出為何?
(A)a = 5, b = 10, c = Have a Great day!
(C)a = 3, b = 13, c = Uave a Great day!
(B)a = 3, b = 10, c = Have a great day!
(D)a = 3, b = 10, c = Uave a great day!
最佳解! | ||
白龍@菜鳥公務員(107/ 國三下 (2018/06/03)
f1()副程式中,將a的位址傳入,並以x指標做連結,因此執行*x=*x+2時,x=a=3+2=5b的部分因為使用傳值,所以y之運算不影響b.....觀看完整全文,請先登入 |