What does the characters "r" and "w" mean when writing programs that will make use of files?

C Programming Language >   File Input/Output >   File Operation in c  

Short Question

2629


Answer:

"r" means "read" and will open a file as input wherein data is to be retrieved. "w" means "write", and will open a file for output. Previous data that was stored on that file will be erased.


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.