Answers for "how to put quotes inside string c"

C
0

how to put quotes inside string c

char myString = "She said, \"You deserve a treat!\" "; 
// put a \ before the quotes 
//output would be : She said, "You deserve a treat!"
Posted by: Guest on February-21-2020

Code answers related to "how to put quotes inside string c"

Code answers related to "C"

Browse Popular Code Answers by Language