22.
What is the purpose of the ios::ate flag in C++ file handling?

30.
What happens if you try to open a file that does not exist in C++ without specifying any flags?