Output
Hello World
Step 1: START
Step 2: print Hello World in if condition:
if(printf(" Hello World ")) { }
Step 4: END
/* print hello world without semicolon */
#include <stdio.h>
int main()
{
if(printf(" HELLO WORLD "))
{ }
return 0;
}
/* print hello world without semicolon */
#include <iostream>
using namespace std;
int main()
{
if(cout<<" HELLO WORLD ")
{ }
return 0;
}
HELLO WORLD
advertisment