Loganathan, the pritnln statement in your first program is carrying out
string concatenation (adding "b==c" to the value of 'b' which evaluates to "b==cabc" and comparing the result to 'c' ) that is why the output is different, with this:
The output will be as expected:
Always watchout for 'String Concatenation'.
Regards
Ikpefua.