Write a C program without using any semicolon which outputs Hello Word

There are many ways to do this:-
 
Solution: 1
 
void main(){
    if(printf("Hello world")){
    }
}
 
Solution: 2
 
void main(){
    while(!printf("Hello world")){
    }
}

Comments

Popular posts from this blog

Migrating database from ASP.NET Identity to ASP.NET Core Identity

Customize User's Profile in ASP.NET Identity System

Lambda two tables and three tables inner join code samples