

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following C code?#include <stdio.h>#include <stdarg.h> int fun(char ch, ...); int main() { char ch1 = 100, ch2 = 101; fun(ch1, ch2); return 0; } int fun(char ch, ...) { va_list list; va_start(list, ch); char ch2 = va_arg(list, int); printf("%c n", ch2); va_end(list); } |
A. | 100 |
B. | d |
C. | 101 |
D. | e |
E. | None of these |
Answer» E. None of these | |