Transcription of C Reference Manual - Bell Labs
{{id}} {{{paragraph}}}
-C Reference ManualDennis M. RitchieBell Telephone LaboratoriesMurray Hill, New Jersey 079741. IntroductionC is a computer language based on the earlier language B [1]. The languages and their compilers differ in twomajor ways: C introduces the notion of types, and defines appropriate extra syntax and semantics; also, C on thePDP-11 is a true compiler, producing machine code where B produced interpretive of the software for theUNIX time-sharing system [2] is written in C, as is the operating system itself. C isalso available on theHIS6070 computer at Murray Hill and and on theIBMS ystem/370 at Holmdel [3]. This paperis a Manual only for the C language itself as implemented on thePDP-11.
C Reference Manual - 4 6.1 Characters and integers A charobject may be used anywhere an intmay be. In all cases the charis converted to an intby propa-gating its sign through the upper 8 bits of the resultant integer. This is consistent with the two’s complement repre-sentation used for both characters and integers.
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}