Hi guys, I'm struggling the concept of how several things aren't the same type but it's the same at the output. let me clear more, how actually to say str[5]=='\0' is the same to say str[5]==0 which they mean we arrived to the final of the string?(assuming that str is a string .. char *) and not specifically that case, I'm talking in general how multiple things with different types leading to the same output? and they are equal in meaning?! how we decide that? actually how could multiple things with different representation be the same in meaning(if there's an analogous for would be nice!!) ?!
is there a theory in math that declares although different in representation, it could lead to the same meaning?
thanks in advance.
is there a theory in math that declares although different in representation, it could lead to the same meaning?
thanks in advance.