Sunday, April 18, 2010

Predict The Output:

int main()
{
return printf("shark ");
}
int x=main();

Don't think that it will result in compilation error. It will run perfectly and prints "shark shark".

Output:
shark shark

0 comments:

Post a Comment