C program to print “HELLO” without semicolon

The below program is to print “HELLO” without Semicolon. The C printf statement is used to output the result on the screen. C program to print “HELLO” without semicolon

#include <stdio.h>
 
int main()
{ 
if (printf ("HELLO"));  
return 0;
}

Output

HELLO
Please follow and like us:
Content Protection by DMCA.com