Aren't ASCII values of 'a' to 'z' consecutive from 97 to 122 irrespective of implementation? A good book says otherwise [duplicate]

北战南征 提交于 2019-12-05 20:07:58

C doesn't require ASCII encoding. It allows other encodings, some of which may not have letters represented by consecutive values.

An example is EBCDIC where letters are not consecutive.

Note that the characters for digits are guaranteed by the C standard to always be consecutive (although they may not have values 48-57 as in ASCII).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!