Print Hello World without using ;

Print Hello World without using ; in the whole program

/*
Hello World without using any semicolon
Shaswat Saxena
10/11/2017
*/
#include <stdio.h>
void main() {
  if (printf("Hello World\n")){
}
}

Alternative

/*
Hello World without using any ;
Shaswat Saxena
10/11/2017
*/
#include <stdio.h>
void main() {
  switch (printf("Hello World\n")){
}
}

Output

Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Recommended for You  Sort numbers using Bubble Sort

Leave a Reply

Close Menu