C++20 sections · 1024 units
Open in Course

Quiz: Reading Methods

Knowledge check

Check Your Understanding

Which method reads whitespace characters like spaces and tabs?

  1. A.file.get(ch)
  2. B.getline(file, str)
  3. C.All of the above
  4. D.file >> ch (extraction operator)
Start the roadmap to answer the quizzes and solve the challenges