Which of the following is the correct syntax to read a single character from…

Which of the following is the correct syntax to read a single character from the console in C++?

  1. A.

    read ch()

  2. B.

    getlinech()

  3. C.

    get(ch)

  4. D.

    More than one of the above

  5. E.

    None of the above

Attempted by 86 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…