Assume i have `out.txt` containing the text `Hello World`

If i do this

`fstream ("out.txt" , ios::out)`

Then if i try to open the file it will be empty.

My question is when i open a file stream to a file with the `ios::out` flag

The file is empty yes. 

But did it go inside the file and delete all its contents 

or did it create a new empty file and overwrote the old one?