Sunday, September 18, 2011

Print a text without using semicolon in C/C++


First of all write these lines in any C compiler:

#include<stdio.h>

int main()
{
    if(printf("Aryan"))
    {

    }
}

then follows these steps:

1. Compile
2. Run (no output will occur now)
3. press Alt+F5