[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-652815-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-652815-en":130,"doc-similar-652815":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","c-reference-manual-introduction","C Reference Manual - Introduction","","C Reference Manual by Dennis M. Ritchie for the C language as implemented on the PDP-11. The introduction explains C’s evolution from the earlier B language, highlighting the role of types and compiler behavior that produces machine code. The manual then formalizes lexical conventions, token kinds, parsing rules, and comment syntax, followed by detailed definitions for identifiers, reserved keywords, and constant forms including integers, character constants, floating constants, and string literals.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/c-reference-manual-introduction/652815/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/c-reference-manual-introduction/652815.png","ImageObject",300,407,{"name":42,"@type":43},"Syukur Setiap Hari","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-28","2026-10-24",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",6,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"How does C differ from the earlier language B?","Question",{"text":63,"@type":64},"C introduces the notion of types and defines additional syntax and semantics. On the PDP-11, C is a true compiler producing machine code, while B produced interpretive code.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What are the token types defined by the manual?",{"text":68,"@type":64},"The manual defines six kinds of tokens: identifiers, keywords, constants, strings, expression operators, and other separators.",{"name":70,"@type":61,"acceptedAnswer":71},"How are identifiers and keywords specified in C?",{"text":72,"@type":64},"Identifiers are sequences of letters and digits where the first character must be alphabetic, with underscore counted as alphabetic. Reserved keywords include items like int, char, double, struct, and control-flow keywords such as if, else, for, and while; these may not be used as identifiers.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},652815,1792882999,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":33,"preview_urls":145},962093541965,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","-  \nC Reference Manual  \nDennis M. Ritchie  \nBell Telephone Laboratories  \nMurray Hill, New Jersey 07974  \n1 . Introduction  \nC is a computer language based on the earlier language B [1] . The languages and their compilers differ in two major ways: C introduces the notion of types, and defines appropriate extra syntax and semantics; also, C on the PDP-11 is a true compiler, producing machine code where B produced interpretive code.  \nMost of the software for the UNIX time-sharing system [2] is written in C, as is the operating system itself. C is also available on the HIS 6070 computer at Murray Hill and and on the IBM System/370 at Holmdel [3] . This paper is a manual only for the C language itself as implemented on the PDP-11 . However, hints are given occasionally in the text of implementation-dependent features.  \nThe UNIX Programmer’s Manual [4] describes the library routines available to C programs under UNIX, and also the procedures for compiling programs under that system. ‘‘The GCOS C Library’’ by Lesk and Barres [5] describes routines available under that system as well as compilation procedures. Many of these routines, particularly the ones having to do with I/O, are also provided under UNIX. Finally,‘‘Programming in C− A Tutorial,’’ by B. W. Kernighan [6], is as useful as promised by its title and the author’s previous introductions to allegedly impenetrable subjects.  \n2 . Lexical conventions  \nThere are six kinds of tokens: identifiers, keywords, constants, strings, expression operators, and other separators. In general blanks, tabs, newlines, and comments as described below are ignored except as they serve to separate tokens. At least one of these characters is required to separate otherwise adjacent identifiers, constants, and certain operator-pairs.  \nIf the input stream has been parsed into tokens up to a given character, the next token is taken to include the longest string of characters which could possibly constitute a token.  \n2.1 Comments  \nThe characters /* introduce a comment, which terminates with the characters * / .  \n2.2 Identifiers (Names)  \nAn identifier is a sequence of letters and digits; the first character must be alphabetic. The underscore ‘‘_’’ counts as alphabetic. Upper and lower case letters are considered different. No more than the first eight characters are significant, and only the first seven for external identifiers.  \n2.3 Keywords  \nThe following identifiers are reserved for use as keywords, and may not be used otherwise:  \n-  \nC Reference Manual-2  \nint  \nchar float double struct auto extern register static goto return sizeof  \nbreak continue if  \nelse  \nfor  \ndo while switch case default  \nentry  \nThe entry keyword is not currently implemented by any compiler but is reserved for future use.  \n2.3 Constants  \nThere are several kinds of constants, as follows:  \n2.3.1 Integer constants  \nAn integer constant is a sequence of digits. An integer is taken to be octal if it begins with 0, decimal otherwise. The digits 8 and 9 have octal value 10 and 11 respectively.  \n2.3.2 Character constants  \nA character constant is 1 or 2 characters enclosed in single quotes ‘‘ ´ ’’. Within a character constant a single quote must be preceded by a back-slash ‘‘\\’’. Certain non-graphic characters, and ‘‘\\’’ itself, may be escaped according to the following table:  \nBS  \nNL  \nCR  \nHT  \nddd  \n\\  \n\\b  \n\\n  \n\\r  \n\\t  \n\\ddd  \n\\\\  \nThe escape ‘‘\\ddd’’ consists of the backslash followed by 1, 2, or 3 octal digits which are taken to specify the value of the desired character. A special case of this construction is ‘‘\\0’’(not followed by a digit) which indicates a null character.  \nCharacter constants behave exactly like integers (not, in particular, like objects of character type) . In conformity with the addressing structure of the PDP-11, a character constant of length 1 has the code for the given character in the low-order byte and 0 in the high-order byte; a character constant of length 2 has the code fo","cbCaipFkpWnIX9dl","https://ap.wps.com/l/cbCaipFkpWnIX9dl","pdf",79284,31,"English","# 1. Introduction\n# 2. Lexical conventions\n## 2.1 Comments\n## 2.2 Identifiers (Names)\n## 2.3 Keywords\n## 2.3 Constants\n## 2.4 Strings\n# 3. Syntax notation\n# 4. What’s in a Name?","[{\"question\":\"How does C differ from the earlier language B?\",\"answer\":\"C introduces the notion of types and defines additional syntax and semantics. On the PDP-11, C is a true compiler producing machine code, while B produced interpretive code.\"},{\"question\":\"What are the token types defined by the manual?\",\"answer\":\"The manual defines six kinds of tokens: identifiers, keywords, constants, strings, expression operators, and other separators.\"},{\"question\":\"How are identifiers and keywords specified in C?\",\"answer\":\"Identifiers are sequences of letters and digits where the first character must be alphabetic, with underscore counted as alphabetic. Reserved keywords include items like int, char, double, struct, and control-flow keywords such as if, else, for, and while; these may not be used as identifiers.\"}]","C Reference Manual - Introduction | PDF",78,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a066ee9b81a2e544c7cfd50b174c1a16.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/5df76ef9b4977f47700d708b448ccdf4.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/3fcbcd08f487b40d37dd6e26f3477775.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/588ea43c74f3652c0ae6b4c216daa718.webp",980,1268,{"list":163,"token":11},[164,171,178,185,191,197,204,210,217,224],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":29,"create_tm":170},14451,"Handbook of Second Language Acquisition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229699260831/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=59R6Zi%2FWrjw%2F23WsDa96HALAQkA%3D","handbook-of-second-language-acquisition",66,1776559164,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":176,"category_name":29,"create_tm":177},501793,"International Journal of Computational Linguistics and Applications - Vol. 1 No. 1-2 Jan-Dec 2010","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229931413188/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=KX07znAeFc0NDOXNMjPmF7COYMM%3D","international-journal-of-computational-linguistics-and-applications-vol-1-no-1-2-jan-dec-2010",13,1791024737,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":183,"category_name":29,"create_tm":184},83954,"CANONIC Governance Is Compilation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809008417/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=hij6gTNwlQDMI7EGvyh85SlI6p8%3D","canonic-governance-is-compilation",21,1784191649,{"doc_id":186,"doc_title":187,"file_type":137,"home_preview_img_url":188,"slug":189,"view_count":30,"category_name":29,"create_tm":190},685769,"Automatically Recognizing Semantics of List-based Data Structures in Source Code - Paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000198167/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=7gzxvYSd%2BOM9Lz8LamwulasQgsI%3D","automatically-recognizing-semantics-of-list-based-data-structures-in-source-code-paper",1794017954,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":123,"category_name":29,"create_tm":196},416003,"Deciphering and Characterizing Out-of-Vocabulary Words for Morphologically Rich Languages","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229921795068/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=0XtlB8dSO3W%2B6kmzRMf9WX6nwtc%3D","deciphering-and-characterizing-out-of-vocabulary-words-for-morphologically-rich-languages",1790603810,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":202,"category_name":29,"create_tm":203},83060,"Compiling Bioinformatics Recurrences","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808930718/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=yTAUqpEjDkUiMF5opjoLvaTTK9Q%3D","compiling-bioinformatics-recurrences",25,1784184928,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":111,"category_name":29,"create_tm":209},337197,"Automated Pathologic TN Classification Prediction and Rationale Generation From Lung Cancer Surgical Pathology Reports Using a Large Language Model Fine-Tuned With Chain-of-Thought - Algorithm Development and Validation Study","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910162348/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=W0Vk%2FJnHMpMy8T%2FdLh137K%2BplG8%3D","automated-pathologic-tn-classification-prediction-and-rationale-generation-from-lung-cancer-surgical-pathology-reports-using-a-large-language-model-fine-tuned-with-chain-of-thought-algorithm-development-and-validation-study",1790018100,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":215,"category_name":29,"create_tm":216},85613,"Let It Be Simple One-Step Action Generation for Vision-Language-Action Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809276598/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=IPkBhRnTVqEYHoidGUXWxXx%2BQkI%3D","let-it-be-simple-one-step-action-generation-for-vision-language-action-models",24,1784204927,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":222,"category_name":29,"create_tm":223},122253,"Analyzing Unmanned Aircraft System (UAS) Incidents from NASA ASRS Data Using Unsupervised Machine Learning - Thesis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836679840/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=T9Y93jJnbRxeLBOHrnMw%2BKfxiNk%3D","analyzing-unmanned-aircraft-system-uas-incidents-from-nasa-asrs-data-using-unsupervised-machine-learning-thesis",23,1785809647,{"doc_id":225,"doc_title":226,"file_type":137,"home_preview_img_url":227,"slug":228,"view_count":22,"category_name":29,"create_tm":229},734525,"NIST RS274/NGC Interpreter-Version 3 - User Manual - Overview - Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031938377/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=%2BVKGPRmU3G4OjdV1RKAXRsLyaVw%3D","nist-rs274ngc-interpreter-version-3-user-manual-overview-introduction",1795400012]