How to write a C Program to Print Hello World without using any semicolon ?
Solution - Type (a):
void main(){
if(printf("Hello world")){
}
}
Solution - Type (b):
void main(){
while(!printf("Hello world")){
}
}
Solution - Type (C):
void main(){
switch(printf("Hello world")){
}
}