阅读背景:

在C99中哪里可以合法地声明变量?

来源:互联网 

When I was first introduced to C I was told to always declare my variables at the top of the function. Now that I have a strong grasp of the language I am focusing my efforts on coding style, particularly limiting the scope of my variables. I have read about the benefits to limiting the scope and I came across an interesting example. Apparently, C99 allows you to do this...When I was first introduced to C I was told to




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: