Interview Questions   Tutorials   Discussions   Programs   

C - Write a Hello World program in c without using a semicolon?




288
views
asked marvit August 18, 2014 06:32 AM  

Write a Hello World program in c without using a semicolon?


           

1 Answers



 
answered By bhjahnavi   0  
/* to print a message Hello World,using c language without using a semicolon*/
#include<stdio.h>
void main()
{
   if(printf("hello world")){}
}
output :
hello world
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert