>What is the difference between "\n" and '\n'.?
>Also what is the difference between " " and ' '??
But seriously, the first is a string literal and the second is a character literal. The difference, aside from the data type, is that a string literal is an array of const char that always has a '\0' character at the end and a character literal isn't an array and doesn't have a null character.