Vision and dreams are the blueprints of soul and achievements.
-Mohammed Ahmed F

Printing "Hello World" without the use of semicolon

Solution 1:

#include<stdio.h>

void main()
{
    if(printf("Hello world"))
    {
    }
}

Solution 2:

#include<stdio.h>
void main()
{
    while(!printf("Hello world"))
    {
    }
}

Solution 3:

#include<stdio.h>
void main()
{
    switch(printf("Hello world"))
    {
    }
}

Share this

Related Posts

Dear User,

Thank you for your comment. Hope you like this blog. Kindly share us on Social Media so others can be updated.

-Chief Administrative Officer.