H
hyderabadblues
I have a doubt regarding how to access global variables if already
there is one static variable with the same name defined at the
beginning of file outside any function.
E.g:
//File client.c
int iGlobalVar; // Global Variable
// main.c
static int iGlobalVar;
int main()
{
// How to access iGlobalVar here;
}
there is one static variable with the same name defined at the
beginning of file outside any function.
E.g:
//File client.c
int iGlobalVar; // Global Variable
// main.c
static int iGlobalVar;
int main()
{
// How to access iGlobalVar here;
}