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

BPSC TRE 2023

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

Sign up free to check your answer

Sign up free

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…