Guys plz can u tell me what is the actual work of Return operator (\r) ??? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Guys plz can u tell me what is the actual work of Return operator (\r) ???

29th Oct 2022, 2:56 PM
Sazid Hosen
Sazid Hosen - avatar
1 Antwort
+ 2
Do you mean escape character? Depends, but among other things it represents: \r = CR (Carriage Return) → Used as a new line character in Mac OS before X \n = LF (Line Feed) → Used as a new line character in Unix/Mac OS X \r\n = CR + LF → Used as a new line character in Windows
29th Oct 2022, 3:11 PM
Mateusz Kempa
Mateusz Kempa - avatar