[C] warning: ISO C90 forbids mixed declarations and code

warning: ISO C90 forbids mixed declarations and code

 
通常會出現這種warning message是因為變數的宣告太後面
在宣告變數的前面不可以有其他的執行運作。
 
但是有執行所用到的變數要距離越近,執行的效率越好的觀點
但個人覺得在Interpreter Language而言會比較有作用,因為對C來說,Code Optimization後,應該不會有這個議題存在。
posted @ 2013-01-02 15:55  jeremyatchina  阅读(375)  评论(0编辑  收藏  举报