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 enable curl option in php

Simple Socket programming using TCP in java