R

Ram Sharma • 3.40K Points
Extraordinary

Q. What is the output type of `Console.Read()`?

  • (A) char
  • (B) int (ASCII code)
  • (C) string
  • (D) bool

Explanation by: Ram Sharma
`Console.Read()` returns an `int` representing the ASCII code of the character read.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.