, C, , , a char int.
Unfortunately, this educational toy somehow became part of the typical arsenal of most C developers, partly because C does not provide a convenient call for this (it often depends on the platform, I'm not even sure what it is).
As a rule, this code is not portable for platforms other than ASCII, and for future transitions to other encodings. It is also not very readable. Minimum wrap this trick in function.
source
share