+ 2

Printing "Hello World" Without semicolon in C?

Can anyone do this. I can! No semicolon near "Hello World" text.

26th Oct 2018, 3:59 PM
Kunal Kumar
Kunal Kumar - avatar
2 Answers
+ 6
if (printf("Hello, world!")) {} Also I'm not sure if this belongs in the Q&A. Would probably fit better as a post in the activity feed.
26th Oct 2018, 4:06 PM
LunarCoffee
LunarCoffee - avatar
26th Jun 2020, 8:44 PM
Brijesh Paghdal
Brijesh Paghdal - avatar