hi I just starting programming c I was hopping that some one could give me an example of some code to output (so that is displays the qoutes as well) then after this write a new line
"This is a test"
Thanks
Printable View
hi I just starting programming c I was hopping that some one could give me an example of some code to output (so that is displays the qoutes as well) then after this write a new line
"This is a test"
Thanks
You need to use escape sequences to print certain characters in C. For the case of the quotation mark, it is \". So your code would be:
Code:printf("\"This is a test\"\n");