C Program to Print Statement without Semicolon

bookmark

/*
 * C Program to Print any Print Statement without using Semicolon
 */
#include <stdio.h>
 
void main()
{
    if(printf("Hi.. Welcome to sanfoundry"))
    {
    }
}


Output:
 
Hi.. Welcome to sanfoundry