How to print the word without using semicolon of end of the printf line? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to print the word without using semicolon of end of the printf line?

I want to print the word hello.. without using semicolon

15th Mar 2017, 2:11 PM
Sakthi Manikannan A
Sakthi Manikannan A - avatar
1 Answer
0
write the printf statement inside the if condition... if(printf("hello world"))
15th Mar 2017, 5:20 PM
mrinalini
mrinalini - avatar