Use printf without semicolon in simple C program

void main()
{
if(printf("Hi Kunal")){}
}

Since printf return non zero value thus
this statement is always true

Comments

Popular posts from this blog

How to set background color of navigation bar in iPhone