0
character and string
Can ' also b a character or string if it is putted between " inverted commas or ' commas
3 Answers
+ 7
" are called double quotes
' are called single quotes
and i think you can, if you escape them using the escape character \
e.g. string quote = " \" ";
cout << quote;
this prints: "
+ 4
no problem buddy
just in case, just know you can do the same for characters
char c = ' \' '
0
thank you for a great answer