R+ mode is used to open an existing fiel for both reading and writing.
Please login to submit your explanation
You can check your performance of this question after Login/Signup
ASC11 code is the text file in which data is stored .
A data of the file is stored in Hard disk.
True, we should not be able to read a file after writing in that file without calling the below functions.
True, offset in fseek() function can be a negative number. It makes the file pointer to move backwards from the current position
Both 1 and 2
Neither 1 nor 2
If w is used, old contents of file are erased and a new empty file is created. When wx is used, fopen() returns NULL if file already exists.
4 bytes number will take
Append is the meant by 'a' in the following operation.
remove(const *filename) removes the named file, so that a subsequent attempt to open it will fail. It returns non-zero of the attempt fails.
hello you are reading a file
hello you are reading a file demo
None of the above
Mode a+ means we can read and write on file but when we will write on file it will append at the end content and it doesn't truncate the content of file.
Please login to report
Buy TCS NQT Paid Materials
Join TCS NQT Online Classes
Personalized Analytics only Availble for Logged in users
Analytics below shows your performance in various Mocks on PrepInsta
Your average Analytics for this Quiz
September 16, 2021
Login/Signup to comment