1.

Which files will get closed through the fclose() in the following program?

#include<stdio.h> int main()
{ FILE *fs, *ft, *fp; fp = fopen("A.C", "r"); fs = fopen("B.C", "r"); ft = fopen("C.C", "r"); fclose(fp, fs, ft); return 0;
}

A. "A.C" "B.C" "C.C"
B. "B.C" "C.C"
C. "A.C"
D. Error in
E. <i class="C-code">fclose()</i>
Answer» E. <i class="C-code">fclose()</i>


Discussion

No Comment Found