\n
Line feed (newline)
Decimal: 10
Hex: 0A
Control
ASCII Values
Decimal
10
Hexadecimal
0x0A
Character
\n
Usage Examples
JavaScript (from decimal)
String.fromCharCode(10); // "\n"
JavaScript (to decimal)
"\n".charCodeAt(0); // 10
Python
chr(10) # "\n"
ord("\n") # 10C/C++
char c = 10; // '\n' int code = '\n'; // 10
Control Characters
Control characters (0-31, 127) are non-printable characters used for text formatting and device control. Common examples include newline (10), carriage return (13), and tab (9).