\n Share definition Flag 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 0 0 Get merch Get the \n mug. Buy Now — $32.95 See more merch