The following will take x consecutive chars in memory:
'n' - 1 char (type char) "n" - 2 chars (above plus zero character) (type const char*char[2]) '\n' - 1 char "\n" - 2 chars "\\n" - 3 chars ('\', 'n', and zero) "" - 1 char edit: formatting fixed
edit2: I've written something very stupid, thanks Mooing Duck for pointing that out.