Vidyalelo
C Programming · Q109

File Input Output

Programming · C Programming · question 109

Q109

What will be the output of the following C code? #include #include int f(char c, ...); int main() char c = 97, d = 98; f(c, d); return 0; int f(char c, ...) va_list li; va_start(li, c); char d = va_arg(li, int); printf("%c ", d); va_end(li);

A.
Compile time error
B.
Undefined behaviour
C.
a
D.
b
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board