engineering recuitment NIC NIELIT Scientist B 2023 Mock Test Operating Systems File System Directory Structure
Which of the following file-type arguments is used in fopen() library function to open a new file for both reading and writing, and destroys the file if a file with the specified file-name already exists in the current directory?
1
“a+”
2
“r+”
3
“w”
4
“w+”