I have a query based on the below program -
char ch; ch = \'z\'; while(ch >= \'a\') { printf(\"char is %c and the value is %d\\n\", ch, ch); ch =
Why is the printing of whole set of lowercase letters not guaranteed in the above program.
Because it's possible to use C with an EBCDIC character encoding, in which the letters aren't consecutive.