I want to know
prog1.c
#include<stdio. c>
static int c=6;
int main()
{
/*code*/
}
prog2.c
#include<stdio. h>
int main()
{
static int c=10;
}
what would be the difference between these two program in the fuctioning of static keyword ?
thx.
ankur
prog1.c
#include<stdio. c>
static int c=6;
int main()
{
/*code*/
}
prog2.c
#include<stdio. h>
int main()
{
static int c=10;
}
what would be the difference between these two program in the fuctioning of static keyword ?
thx.
ankur
Comment