October 17th, 2013, 07:46 PM
It evaluates as though you typed:
Look at C's operator precedence for details as to why this is so.
Since j is non-zero, !j evaluates to 0. Then it evaluates 0 != 1, which is true and hence, it prints "Welcome".
As an aside, if someone uses this in actual code (or even to teach code), feel free to slap them for me.
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne