Search This Blog

Thursday 22 November 2012

Tip: variable declaration.


int b;
int a = b = 1;
cout<<a<<b;

What will be the output? Comment.

Output: 11

1 comment:

  1. 11, actually I'd to check through compiler. Nice Tip.

    ReplyDelete