Home
Archaeology
Astronomy
Biology
Books
Business
Chemistry
Coins
Computers
Conservation
Cooking
Earth Science
Farming
Economics
Finance
Games
Geography
Health Science
History by Date
Hobbies
Law
Mathematics
Medicine
Military Technology
Movies
Music
People
Pharmacology
Philosophy
Physics
Psychology
Religion
Science History
Technology
Sports
Television
Video
Visual Art
Privacy
Contact Us



Carriage return

In computing, the carriage return (CR) is one of the control characters in ASCII code or EBCDIC that commands a printer or other sort of display to move the position of the cursor to the first position on the same line. It is mostly used along with line feed, a move to the next line, while carriage return precedes line feed to indicate new line.

In ASCII, it is defined as 13 in decimal and 0D in hexadecimal.

In the C programming language and many other languages influenced by it, \\r denotes this character.

The term derives from the fact that when this control character was sent to early printers, it would physically return the carriage, similar to the operation of a typewriter.

References


Copyright 2004. All rights reserved.