C Program without semicolon

How to Write a C Program without semicolon in C Programming Language ?

This C Program without semicolon. 

Solution: 

Below are two examples to print a string without semicolon:

  1. #include<stdio.h>
  2. void main(){
  3.     switch(printf("Hello world")){
  4.     }
  5. }

  1. #include<stdio.h>
  2. void main(){
  3.     while(!printf("Hello world")){
  4.     }
  5. }


Learn More :