27 執行下列 C++程式碼後,螢幕印出的數字為何?
【老張】評論
return (m>n) ? (m-n):(m+n);如果 m>n 則回傳 m-n ,否則回傳 m + n所以 f(3,4) = 7, f(6, 5) = 1, 原式變為 f(7, 1) = 6答案 6 選B