A

Admin • 833K Points
Coach

Q. Which function is used to write a single character to the console in C++?

  • (A) printf(c)
  • (B) write(c)
  • (C) cout.put(c)
  • (D) cout.putline(c)
  • Correct Answer - Option(C)
  • Views: 28
  • Filed under category C++
  • Hashtags:

Explanation by: Admin

In C , the cout.put() function writes a single character to the console.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.