G
g.ankush1
#include <stdio.h>
/* 1st example
int a()
{
return 1;
}
b()
{
}
int main()
{
int x;
a();
x=b();
printf("%d",x);
}
*/
// 2nd example
int a()
{
return 1;
}
b()
{
a();
}
int main()
{
int x;
x=b();
printf("%d",x);
}
Please see the first example and the second example. I don't know why
is there a difference of output. I tried it running in vc ++ 6.0
Thanks in advance
Regards
Ankush
/* 1st example
int a()
{
return 1;
}
b()
{
}
int main()
{
int x;
a();
x=b();
printf("%d",x);
}
*/
// 2nd example
int a()
{
return 1;
}
b()
{
a();
}
int main()
{
int x;
x=b();
printf("%d",x);
}
Please see the first example and the second example. I don't know why
is there a difference of output. I tried it running in vc ++ 6.0
Thanks in advance
Regards
Ankush