This program print's "Hello World" without using semicolon.
Program Code:
/* Program to print Hello World without using semicolon in C */
#include <stdio.h>
int main()
{
/* printf - prints given data */
if (printf("\n Hello World \n\n"))
{
// empty if statement
}
return 0;
}
Program Ouput:
Post a Comment