When should I use single quotes and double quotes in C or C++ programming?
In C, single-quotes such as 'a' indicate character constants whereas "a" is an array of characters, always terminated with the \0 character
'a'
"a"
\0