EmbLogic's Blog

Print hello world without using semicolon

NOTE : Use stdio.h header file

solution 1:

#include
void main()
{
if(printf(“Hello World”))
{
}
}

solution 2:

#include
void main()
{
while(!printf(“Hello World”))
{
}
}

solution 3:

#include
void main()
{
switch(printf(“Hello World”))
{
}
}

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>