1.

What is the output of this program in the text file?
#include 
int main ()
{
FILE * ptr;
char buff[] = { 'I' , 'L' , 'U' };
ptr = fopen ( "Example.txt" , "wb" );
fwrite (buff , 1 , sizeof(buff) , ptr );
fclose (ptr);
return 0;
}

A. I
B. L
C. U
D. ILU
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs