What will happen if this C program is compiled and executed? #include<stdio.h> int main(){ return 0; }

What will happen if this C program is compiled and executed?

#include<stdio.h>
int main(){
    return 0;
}
  1. a) The program will show some garbage output
  2. b) There will be a compile error and the program will not execute
  3. c) No output (Output screen will be empty)
  4. d) There will be a run-time error

From the Combined Bank Assistant Programmer (CSE) 2020 – Preliminary (DU) exam, question 16 of 47.

More from this paper