For an ifstream object A, a class type B and a local variable of type B called C, the proper way to read in one B object from A into C is:

a. A.read(&C, sizeof(B));
b. A.read(reinterpret_cast"l<"char*>(C), sizeof(B));
c. A.read(reinterpret_cast(&C), B);
d. A.read(char* (&C), sizeof(B));

b. A.read(reinterpret_cast"l<"char*>(C), sizeof(B));

Computer Science & Information Technology

You might also like to view...

Useful data is when information is converted into a meaningful format

Indicate whether the statement is true or false

Computer Science & Information Technology

Click the right margin to select one line of the text.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology