<Apti
Code
/>
Back
Question 563: What is the purpose of"rb"infopen()function used below in the code?FILE *fp; fp = fopen("source.txt", "rb");
tcs
wipro
infosys
general
aptitude
input-output
c-programming
The filesource.txtwill be opened in the binary mode.
open "source.txt" in binary mode for reading
open "source.txt" in binary mode for reading and writing
Create a new file "source.txt" for reading and writing
None of above
Submit Answer
Show Answer
Previous
Next