What should the code print? 0 or any garbage value or will it depend on the compiler?
#include <stdio.h>
int a;
int main()
{
printf("%d
",a);
return 0;
}
See Question&Answers more detail:osWhat should the code print? 0 or any garbage value or will it depend on the compiler?
#include <stdio.h>
int a;
int main()
{
printf("%d
",a);
return 0;
}
See Question&Answers more detail:os