32.
What is the difference between fstream and ofstream in C++?

39.
What is the purpose of the ios::trunc flag in C++ file handling?