Submitted Questions

  • file handling in c++

    what is the difference between the two statements: file.write( reinterpret_cast(&pers), sizeof(pers) ); file1.write( (char*) & pers, sizeof(pers );