Skip to main content

Definitions by Foonly

Escape sequence for the newline character in C and other programming languages (C++, Haskell, Java, Perl, Python...).
puts("Hello,\nworld!")

outputs:

Hello,
world!
\n by Foonly September 29, 2005