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

BPSC TRE 2023

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

  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 565 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…