The ascii code value of the carriage return

Which of the ASCII codes stands for carriage return

Carriage return – CR key

0x0d – hex

13 – decimal

‘\r’-also

Line feed – LF

0x0a – hex

10 – decimal

‘\n’ – also possible

What are the ASCII codes for enter, line feed, and space bar and their functions?

The ASCII codes for enter, line feed, and space are 13, 10, and 32, respectively. When these three ASCII codes are displayed on the screen, enter causes the cursor to go back to the beginning of the line (which is equivalent to pressing HOME inside Notepad), line feed moves the cursor to the next line (which is equivalent to pressing an arrow inside Notepad), and space moves the cursor one position to the right.