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

Hello...



Your comments will be displayed only after manual approval.