how to put quotes inside string c
snippet in c

how to put quotes inside string c

user6480

char myString = "She said, \"You deserve a treat!\" "; 
// put a \ before the quotes 
//output would be : She said, "You deserve a treat!"