Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

How can I print hello in C without semicolon?

how can i print hello in c without semicolon?

user-image
Question ajoutée par Palash Kothari , Sr.Software Test Engineer , Enbraun
Date de publication: 2013/07/13

itz really very simple.......u just have to use the printf() method as an argument of a conditional loop i.e.
while(), if(), switch()......
Method1: void main() { if(printf("Hello world")){ } } Method2: void main(){ while(!printf("Hello world")){ } } Method3: void main(){ switch(printf("Hello world")){ } }

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?