News for hackers. Stuff that matters.
Re:Having fun abusing the C language by sigjuice on Tuesday October 25, 2016 @05:52PM (#12792025)
What do '\0', '\n', and '\9' mean?
Re:Having fun abusing the C language by ekimekim on Tuesday October 25, 2016 @11:24PM (#12793658)
These are escape sequences for non-printing characters. Well, the first two are. '\9' would most likely cause a compile error, since that format '\<digit>' is only defined for octal numbers, ie. digits 0-7.

'\0' means the NUL character, the value 0. Most of the time in C, this character is a special terminator value at the end of strings.

'\n' means the newline character, aka the line feed character, ascii value 10, which marks where one line ends and the next begins.

Re:Having fun abusing the C language by nercht12 on Tuesday October 25, 2016 @05:58PM (#12792086)
\wat?