char s=0;
cout<<s;// prints space
if(' '==0){cout<<" space character is equivalent to 0 integer";}
// donot display the message typed ABOVE
DOUBT:when we initialised char s to 0 compiler displayed empty space.it means 0 is equivalent to empty space.
but when we write ' '==0 in if condition it is not displaying what is written inside ,it means space is not equivalent to 0 integer;
but why is this happening ?
is ' ' equivalent to 0????????????