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

Checking Device Info in ios

Some Interactive tips to take input form GUI Dialogs