static variables in c programming...
时间:2010-08-17 来源:cindy9902
Static variable defines the scope of the variable.
it has mainly two uses
1)Generally extern variable are made static so that function that are not in the file can not access it and function with in the file can access it.
2)Its scope remains till the end of the program
相关阅读 更多 +