Question:

What is the ASCII value of '10' character ?

Show Hint

ASCII values are for individual characters. Be wary of questions that ask for the ASCII value of a multi-character string; they often contain a typo and are referring to one of the characters within the string.
  • 32
  • 24
  • 48
  • 0
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Step 1: Analyze the question's premise. The ASCII standard assigns numerical values to single characters. The string "10" is composed of two separate characters: '1' and '0'. There is no single ASCII value for "10".
Step 2: Interpret the likely intent of the question. The question most likely contains a typo and is asking for the ASCII value of the character '0'.

The ASCII value for the character '0' is 48.
The ASCII value for the character '1' is 49.
Given the options, 48 is the only one that corresponds to a character in the string "10".
Was this answer helpful?
0
0