Home » C Programming » Functions » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    int fun();
    int main()
    {
    int n = fun();
    }
    fun()
    {
    printf("100");
    return 100;
    }
    1. Compilation Error
    2. 100
    3. Depends on compiler
    4. Runtime Error
    5. None of these
Correct Option: B

100



Your comments will be displayed only after manual approval.