Print Helloworld in C without using semicolon [Only Once]
#include<stdio.h>
void main()
{
if(printf("Helloworld"))
{
}
}
Print Helloworld in C without using semicolon [infinite times]
#include<stdio.h>
void main()
{
while(printf("Helloworld"))
{
}
}
On the above lines you can do it with switch or can define a macro which can be used in while/switch or if statement.