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);
}

A. 99
B. Compilation Error
C. c
D. Undefined behaviour
E. None of these
Answer» D. Undefined behaviour


Discussion

No Comment Found

Related MCQs