C++ MQCs with Explanation ( WORKING WITH FILES)

The statement file1.write ((char*) &M, sizeof (M)); writes

  1. the address of M to file1
  2. the functions of M to file1
  3. all the members of M to file1
  4. data in object M to file1



Answer: 
Option d: data in object M to file1

Explanation Here

Post a Comment

0 Comments