Solved

For an Ifstream Object A, a Class Type B and a Local

Question 8

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions