V Viết Mạnh Member Sep 21, 2021 #1 What will be the output of the following C code? Code: #include <stdio.h> int main() { FILE *fp = stdout; stderr = fp; fprintf(stderr, "%s", "hello"); } A. Compilation error B. hello C. Undefined behaviour D. Depends on the standard
What will be the output of the following C code? Code: #include <stdio.h> int main() { FILE *fp = stdout; stderr = fp; fprintf(stderr, "%s", "hello"); } A. Compilation error B. hello C. Undefined behaviour D. Depends on the standard