print hello world without semicolon code example
Example: hello world without semicolon in c
//there are many methods to print hello world or something else without semicolon:
//here are some....
#include<stdio.h>
int main()
{
if(printf("hello world"))
return 0;
}
//OR
#include<stdio.h>
int main()
{
while(!printf("hello world")){} //if '!' symbol is not placed then it will be an infinite loop
return 0;
}
//OR
#include<stdio.h>
int main()
{
switch(printf("hello world")){}
return 0;
} //Code By Dungriyal