What does the characters "r" and "w" mean when writing programs that will make use of files?
4 years ago
C Programming
"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.
Sanisha Maharjan
Jan 20, 2022