How to print "Hello world" (with double quotes) in C language and not Hello world ( without double quotes) ???? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

How to print "Hello world" (with double quotes) in C language and not Hello world ( without double quotes) ????

printf(" " Hello world" ") not working

7th Sep 2017, 3:27 PM
Aman Jain
Aman Jain - avatar
4 Answers
+ 28
printf("\"Hello World\""); to print " use \ before "
7th Sep 2017, 3:46 PM
Mansi Dagla
Mansi Dagla - avatar
+ 11
Use the escape character \ print(" \"Hello World\" ");
7th Sep 2017, 3:33 PM
Rrestoring faith
Rrestoring faith - avatar
- 1
Using \"
2nd Sep 2019, 7:04 AM
KOUTAM SAI KUMAR
KOUTAM SAI KUMAR - avatar
- 2
Why do we use escape sequence any one can explain this plss
23rd Jan 2019, 6:38 PM
Lakshmi Nandigam
Lakshmi Nandigam - avatar