Hi and welcome back. In this video you will going to learn about how to use file dot read and file dot read line. File dot read it reads the entire file and returns it contained in the form of strength. reads at most size by strong the fight less if the raid hits e, f before operating says bytes if the size argument is negative, or omitted, do all the data until it's reached. Similarly read line is used to read an entire line from the file. Let's give a demonstration on these two methods.
See, I open Hello dot txt file and in which HelloWorld is written and using after read function and setting the size of read till 10. So it printed hello world not D, because it exceeds the size see 0123 456-789-1010 here it is printed. Suppose if I write 11 whole sentence A sprint here. Now let's do some changes. Instead of write, read, write read line. See, I'd written nothing and this.
So it printed whole sentence. delta e o f is he owes us is raised Since read and read line have same functionality, but our difference is that it means the given number of bytes. It made it less than if you have is hit and read line. It reads an entire line from the fight. So keep learning keep growing and happy coding