0
Why (\")
3 Answers
+ 4
Strings are written in quotation marks => one indicates starting of string and another one for end of string.
Suppose you want to use " in your string for example
printf("Nice to "help" you");
Compiler will understand that you want to end string and will end it at beggining of help.
So to include quotation mark in your string you have to use special character called back slash (\).
It will tell compiler to consider it as special case and not end string , just add it to string.
printf("Nice to \"help\" you");
Hope this explanation helpsâșïžâșïž.
+ 2
So that you can print "
Otherwise this would mark the end of your string and won't lead to the desired result
0
thank you very much