CodesJava

Easy learning with example program codes

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
Posted in C   
Sign Up/ Sign In
Ask a Question


Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki