Last Updated on April 30, 2022 by Admin 2
What happens if you try to compile and run program?
#include <stdio.h> int fun(){ int a; return ++a; } int main() { printf("%d", fun()); return 0; }
- the program outputs
1
- the program outputs
0
- the program outputs
a
- the program causes an error