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 ) );
b. A.read( reinterpret_cast< char * >( &C ), sizeof( B ) );
Computer Science & Information Technology
You might also like to view...
Temporary Internet files makes viewing faster the next time you visit a site that you previously visited
Indicate whether the statement is true or false
Computer Science & Information Technology
Which of the following statements is false?
a. Exception handling enables programmers to write robust and fault-tolerant programs. b. Exception handling can catch but not resolve exceptions. c. Exception handling can resolve exceptions. d. All of the above are true.
Computer Science & Information Technology