0 votes
in C Plus Plus by
What is the difference between ‘g’ and “g” in C?

1 Answer

0 votes
by

In C double-quotes variables are identified as a string whereas single-quoted variables are identified as the character. Another major difference being the string (double-quoted) variables end with a null terminator that makes it a 2 character array.

...