Static objects may be local to a block or external to all blocks, but in either case retain their values across exit from and reentry to functions and blocks.
静态的变量可能局部于某个块也可能扩展到所有块,无论是退出或重新进入某个程序块它的值都将保留。
Static objects may be local to a block or external to all blocks, but in either case retain their values across exit from and reentry to functions and blocks.
静态的变量可能局部于某个块也可能扩展到所有块,无论是退出或重新进入某个程序块它的值都将保留。
应用推荐