Here is source code of the C Program to print any print statement without using semicolon. The C program is successfully compiled and run on a Linux system. The program output is also shown below.
* C Program to Print any Print Statement without using Semicolon
if(printf("Hi.. Welcome to sanfoundry"))
Output: $ cc pgm38.c $ a.out Hi.. Welcome to sanfoundry
Sanfoundry Global Education & Learning Series – 1000 C Programs.