print Hello_World without using semicolon in C by R4R Team

As we know, for display any statement in C language we use printf() function, and semicolon is mandatory at the last of the line.
like:
printf("Hello_world");
-Here we use semicolon at the last.

Try this without semicolon ?

program-

#include < stdio.h>
int main () {
if(printf("Hello world"))
{

}
}


output-

Hello world




Leave a Comment:
Search
Categories
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!