is it correct
printf(" ' 'hello' ' ")
i used the single quotes for two times. but i know that it is not true please help.
How can i print hello in double quotes on the output screen of c language?
Ungh.. gotta dig in the the back corners of the brain but it should be:
printf("\"hello\"");
Escape sequence it: \"
Ciao! ;)
Reply:You need to escape the printed double quotes:
printf("\"Hello\"/n");
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment