Home » C Programming » Input / Output

What is the purpose of "rb" in fopen() function used below in the code? FILE *fp; fp = fopen("source.txt", "rb");

Correct Answer: open "source.txt" in binary mode for reading

Explanation:

The file source.txt will be opened in the binary mode.

← Previous Question Next Question→

More Questions from Input / Output

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion