1.

The statement f1.write((char*)&obj1, sizeof(obj1));

A. writes the member function of obj1 to f1.
B. Writes the data in obj1 to f1.
C. Writes the member function and the data of obj1 to f1.
D. Writes the address of obj1 to f1.
Answer» C. Writes the member function and the data of obj1 to f1.


Discussion

No Comment Found