• Tutorials
  • Courses
  • Tracks

q3

Last Updated :
Discuss
Comments

How do you read content from a file in C++?

Use cin >>

Use ifstream and getline

Use printf()

Use ofstream

Share your thoughts in the comments