ProAnswers.org

C program except using semicolon

can any1 tell me how to write a C program without using any semicolon which output will : Hello word

1 Like

its easy…

Solution:

void main()
{
if(printf(“Hello world”))
{ }

}

Solution:

void main()
{
while(!printf(“Hello world”))
{ }

}

this will also work

Solution:

void main()
{
switch(printf(“Hello world”))
{ }
}