Home » C Programming » Functions » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    void A();
    void B()
    {
    A();
    }
    void main()
    {
    void B()
    {
    printf("Interview Mania");
    }
    }
    1. Compilation Error
    2. Interview Mania
    3. Runtime Error
    4. Depends on Compiler
    5. None of these
Correct Option: B

Compilation Error

In function `n':
main.c:(.text+0xa): undefined reference to `m'
collect2: error: ld returned 1 exit status



Your comments will be displayed only after manual approval.