c++ Programming Glossary: varglobal
static and extern global variables in C and C++ http://stackoverflow.com/questions/11055802/static-and-extern-global-variables-in-c-and-c one in C both works same behavior. C project header.h int varGlobal 7 main.c #include stdio.h #include stdlib.h #include header.h.. header.h void function int i static int a 0 a int t i i varGlobal varGlobal t printf Call # d ni d nvarGlobal d n n a i varGlobal.. void function int i static int a 0 a int t i i varGlobal varGlobal t printf Call # d ni d nvarGlobal d n n a i varGlobal t int..
|