【評論主題】考慮下列 C 函數:int f ( ){static int y=0;return ++y;}呼叫此函數三次,所得到的函數值依序為何?(A) 0,0,0 (B) 1,1,1 (C) 0,1,2 (D)
【評論內容】Static 不會重設初始值++y→代表★++★★★...