?

ASCII Character: Question mark

ASCII Code 63 · Unicode U+003F · Hex 0x3F

About the Question mark Character

ASCII code 63 (0x3F) represents the Question mark character "?". The "Question mark" character (?) with ASCII code 63 is a punctuation or special symbol in the printable ASCII range. Punctuation characters serve important roles in both natural language writing and programming syntax. The printable ASCII characters (codes 32–126) include the space, digits, uppercase and lowercase Latin letters, and common punctuation symbols. These 95 characters form the foundation of text representation in virtually all computing systems and are universally supported across all character encodings, programming languages, and operating systems.

Encoding Details

ASCII Code 63
Hexadecimal 0x3F
Octal 077
Binary 00111111
Unicode U+003F
Unicode Name QUESTION MARK
HTML Numeric ?
HTML Entity ?
URL Escape %3F
UTF-8 (Hex) 3F
Quoted-Printable ?

Source Code Examples

JavaScript
// Character literal
let char = '?';
// Using char code
let char2 = String.fromCharCode(63);
// Unicode escape
let char3 = '\x3F';
Python
# Character literal
char = '?'
# Using chr()
char = chr(63)
# Using ord() to get code
code = ord('?')  # Returns 63
HTML
<!-- Direct character -->
?
<!-- HTML entity (numeric) -->
&#63;
<!-- Hex entity -->
&#x3F;
C#
// Character literal
char c = '?';
// Using cast
char c2 = (char)63;
// To get code from char
int code = (int)'?';  // Returns 63

Navigate

Copied!