_ / oo OOOOO oo` ooo ooo''o!o!oo!o!o` == VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html == hello,I have another problem in static variables. See following codewhy it prints all 0 instead 4 3 2 1 ?1)void main(){static int i=5;if(--i){main();printf("%d ",i);}}Answer:0 0 0 0 解决方案 You must print before calling main again. --Devaraja (Xdevaraja87^gmail^c0mX)Linux Registerd User #338167 http://counter.li.org^^^How can anyone have the gall to post three questions all with the samebasic error? At least he is consistent.......... Kind regards,Johan --o o o o o o o . . . _____J_o_h_a_n___B_o_r_k_h_u_i_s___o _____ || http://www.borkhuis.com |.][__n_n_|DD[ ====_____ | jo***@borkhuis.com |(________|__|_[_________]_|________________________________|_/oo OOOOO oo` ooo ooo ''o!o!o o!o!o`== VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html == 这篇关于递归主要的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-29 11:09