How to print “hello word” without using semicolon in C? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
- 2

How to print “hello word” without using semicolon in C?

UPDATE : this question ask by one of interviewer in MNC company.

31st Dec 2017, 11:09 AM
Sagar Patel
Sagar Patel - avatar
2 Réponses
+ 11
#include <stdio.h> int main() { if(printf("Hello World") == 0){} }
31st Dec 2017, 11:15 AM
David Akhihiero
David Akhihiero - avatar
0
#include <stdio.h> void main() { if(printf("Hello world")) { } }
1st Jan 2018, 5:25 AM
Sagar Patel
Sagar Patel - avatar