Multiple Choice
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<char*>(&C) , sizeof(B) ) ;
C) A.read(reinterpret_cast<char*>(&C) , B) ;
D) A.read(char* (&C) , sizeof(B) ) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q3: Which of the following does not have
Q4: Which of the following is not a
Q5: Which of the following functions would not
Q6: When used with ofstream objects, operator! is
Q7: Select the proper object type. _ file("file.dat",
Q9: Select the false statement. The reinterpret_cast operator:<br>A)
Q10: A random access file is organized most
Q11: In order to perform file processing in
Q12: Random access files are more effective than
Q13: What is not true about this code