Predict the output of the following code snippet
void function1(void);
void function2(void);
main()
{
int m=1000;
function2();
printf("%d\n",m);
}
void function1(void)
{
int m=10;
printf("%d\n",m);
}
void function2(void)
{
int m=100;
function1();
printf("%d\n",m);
}


Posted on by