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

Loading

โœช Choose the correct option.

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.

Leave a Comment