What is the different between Read and Readline? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the different between Read and Readline?

13th Sep 2016, 5:52 PM
Jay Halani
1 Answer
+ 1
read(size) will read at most size bytes. read() will read entire file. readline() will read a... single line.
13th Sep 2016, 10:17 PM
trueneu
trueneu - avatar