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 |