What will happen when a file that doesnt exist is opened in I-O mode?
The file will be created and will be opened for reading and writing
The open fails and error occurs
File will be created and opened for writing only
The file will be created and opened for reading only