Home » C Programming » Functions » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    int fun(char ch, ...);
    int main()
    {
    char chr = 99;
    fun(chr);
    return 0;
    }
    int fun(char chr, ...)
    {
    printf("%c\n", chr);
    }
    1. 99
    2. Compilation Error
    3. c
    4. Undefined behaviour
    5. None of these
Correct Option: C

c



Your comments will be displayed only after manual approval.