Multiple choice

What will be the output of cout.put(68)?

  1. 68

  2. D

  3. 6

  4. wrong statement

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The put() function is used to display the character on the screen. If 68 will be passed, then it displays the D character whose ASCII value is 68.