This is a trick to print text like “Hello World” in c program without using any semicolon. There are multiple way to do this but we are doing it using if condition.
#include<stdio.h>
#include<conio.h>
void main() {
if(printf("Hello world")){}
}

Read our other Article: C Program to remove comments from source code

Leave a Reply