What will happen if the following C code is executed?
Posted: Wed Jul 13, 2022 7:53 pm
#include <stdio.h> int main() { int main = 3; printf("%d", main); return 0; }
a) It will cause a compile-time error
b) It will cause a run-time error
c) It will run without any error and prints 3
d) It will experience infinite looping
a) It will cause a compile-time error
b) It will cause a run-time error
c) It will run without any error and prints 3
d) It will experience infinite looping