Why is the behaviour of subtracting characters implementation specific? – stackoverflow.com

This statement: if('z' - 'a' == 25) is not guaranteed to evaluate in the same way. It is compiler dependent. Also, it is not guaranteed to be evaluated in the same way as this: #if 'z' - 'a' == 25 ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Why is the behaviour of subtracting characters implementation specific? – stackoverflow.com"