Why iszero1 == false as iszero2 == true and iszero3 == true too?Code:char *number = "0"; bool iszero1 = ("0" == number); bool iszero2 = (0x30 == number[0]); bool iszero3 = (NULL == number[1]);
"0" is an array with two char (1 byte each) values, the first is 48 (0x30) and the second is 0 (NULL), isn't it?