Examveda

What will be the output of the following C code?
#include <stdio.h>
int f(char chr, ...);
int main()
{
    char c = 97;
    f(c);
    return 0;
}
int f(char c, ...)
{
    printf("%c\n", c);
}

A. Compile time error

B. Undefined behaviour

C. 97

D. a

Answer: Option D


This Question Belongs to C Program >> File Input Output

Join The Discussion

Related Questions on File Input Output