23 下列 C 語言程式的執行結果為何?
【考森】評論
int b = 100; #全域變數int a = 30,b = 60; #區域變數printf("output = %dn",A(20));20數值帶到int A(int c)此時int c = 20指令執行到int a = 10;此時a=10,b=100,c=20故return a + b +c;回傳到printf("output = %dn",A(20));output = 130