What is the output of the following code? #include <stdio.h> int f( int x ) { if( x == 0 ) return -1; if( x == 1 ) return 1; return f(x/2) * 2; } int main() { printf( "%d", f(78) ); return 0; }
A64正確答案
B-64
C128
D-128
答案與詳解
這題的完整詳解,註冊就能看 · 每天 2 題免費
Examly 收錄 50 萬+ 道歷屆題目,每題都有像這樣的精選詳解。免費下載,立即開練。
