NIELIT O Level Exam

What does read() do?

What does read() do?

read() क्या करता है?

A. Reads one line

B. Reads all lines into a list

C. Reads entire file as a string

D. Reads one character




Correct Answer is :

C. Reads entire file as a string



Explanation
Without a size argument, read() reads the remaining file content as one string.

Size argument न देने पर read() remaining file content को एक string के रूप में पढ़ता है।
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad