[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-347395-105":59,"doc-detail-347395-en":131},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","programming-in-c-part-1-introduction","Programming In C - Part 1 - Introduction","","Programming in C presents core concepts of C programming from language foundations to structured program development. Unit 1 introduces programming languages, contrasting machine language and assembly with high-level languages, and explains why computers require formal instruction sets. It outlines key programming language purposes—input, output, mathematical processing, conditional execution, and repetition—then connects these ideas to the origin, development, applications, and evolution of C, including compiler usage and writing a C program.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/programming-in-c-part-1-introduction/347395/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/programming-in-c-part-1-introduction/347395.png","ImageObject",300,407,{"name":92,"@type":93},"Asher","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-25","2026-09-22",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",31,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What is a programming language, and why is it needed?","Question",{"text":113,"@type":114},"A programming language is a set of symbols, characters, words, and grammar rules used to construct instructions the computer can interpret. Computers do not understand natural language, so programmers must provide instructions in a formal language the system can execute.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How do machine level language and high level languages differ?",{"text":118,"@type":114},"Machine level language is the lowest level language made of binary digits that the computer recognizes directly. High level languages use more human-friendly syntax and require translation (via a compiler or interpreter) into machine language before execution.",{"name":120,"@type":111,"acceptedAnswer":121},"What stages are involved in program development in C?",{"text":122,"@type":114},"Program development in C involves writing a C program using the language syntax, then compiling and interpreting as needed so the code becomes machine language the computer can run. The unit also highlights stages such as understanding language concepts and organizing instructions for input, output, conditions, and repetition.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},347395,1790436682,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":146,"preview_page_count":147,"preview_urls":148},687197207639,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","Programming In C  \nDECAP010  \nEdited by Balraj Kumar  \n|  |  |\n| --- | --- |\n| | |\n| Edited By: Balraj Kumar\u003Cbr>Programming In C |  |\n\nTitle: PROGRAMMING IN C  \nAuthor’s Name: Dr. Prikshat Kumar Angra  \nPublished By : Lovely Professional University  \nPublisher Address: Lovely Professional University, Jalandhar Delhi GT road, Phagwara-144411  \nPrinter Detail: Lovely Professional University  \nEdition Detail: (I)  \nISBN: 978-93-94068-23-0  \nCopyrights@ Lovely Professional University  \nCONTENT  \nUnit 1: Introduction 1  \nPrikshat Kumar Angra, Lovely Professional University  \nUnit 2: Data Types 18  \nPrikshat Kumar Angra, Lovely Professional University  \nUnit 3: Input / Output in C 30  \nPrikshat Kumar Angra, Lovely Professional University  \nUnit 4: Operations 46  \nPrikshat Kumar Angra, Lovely Professional University  \nUnit 5: Decision making statements 58  \nPrikshat Kumar Angra, Lovely Professional University  \nUnit 6: Loop Statements 84  \nPrikshat Kumar Angra, Lovely Professional University  \nUnit 7: Functions 105  \nPrikshat Kumar Angra, Lovely Professional University  \nUnit 8: Storage Classes 123  \nPrikshat Kumar Angra, Lovely Professional University  \nUnit 9: Arrays 137  \nPrikshat Kumar Angra, Lovely Professional University  \nUnit 10: Pointers 152  \nPrikshat Kumar Angra, Lovely Professional University  \nUnit 11: Strings 168  \nPrikshat Kumar Angra, Lovely Professional University  \nUnit 12: Dynamic Memory Management 184  \nPrikshat Kumar Angra, Lovely Professional University  \nUnit 13: Structure and Union 196  \nPrikshat Kumar Angra, Lovely Professional University  \nUnit 14: Structures 219  \nPrikshat Kumar Angra, Lovely Professional University  \nUnit 01: Introduction  \nCONTENTS  \nObjectives Introduction  \n1.1 Programming Language  \n1.2 Machine Level Language  \n1.3 Advantages and Limitations of Machine Language  \n1.4 Assembly Language  \n1.5 Assembly Program Execution  \n1.6 High Level Languages  \n1.7 Introduction to C Programming  \n1.8 Origin and Development of C Language  \n1.9 Applications of C Language  \n1.10 Evolution of C  \n1.11 Compiler and Interpreter  \n1.12 Program Development in C  \n1.13 Writing a C Program  \n1.14 C Character set  \n1.15 Identifiers and keywords Summary  \nKeywords  \nSelf-Assessment  \nAnswer for Self Assessment Further Readings  \nObjectives  \nAfter studying this unit, you will be able to:  \n• Understand Programming language  \n• Discuss C Programming  \n• Different stages in program developmentusing codeblocks IDE  \n• Programing methodologies  \nIntroduction  \nComputer is an electronic device which works on the instructions provided by the user. As the computer does not understand natural language, it is required to provide the instructions in some computer understandable language. Such a computer understandable language is known as Programming language.  \nA computer programming language consists of a set of symbols and characters, words, and grammar rules that permit people to construct instructions in the format that can be interpreted by the computer system Computer Programming is the art of making a computer do what you want it  \nLOVELY PROFESSIONAL UNIVERSITY 1  \nto do. Computer programming is a field that has to do with the analytical creation of source code that can be used to configure computer systems. Computer programmers may choose to function ina broad range of programming functions, or specialize in some aspect of development, support, or maintenance of computers for the home or workplace. Programmers provide the basis for the creation and ongoing function of the systems that many people rely upon for all sorts of information exchange, both business related and for entertainment purposes.  \n1.1  Programming Language  \nDifferent programming languages support different styles of programming. The choice of language used is subject to many considerations, such as company policy, suitability to task, availability of third-party packages, or individual preference. Ideally, the programming language best suited ","cbCaioTwyaFPdaYE","https://ap.wps.com/l/cbCaioTwyaFPdaYE","pdf",8884432,236,"English","# Unit 1: Introduction\n## Objectives and key learning outcomes\n## 1.1 Programming Language\n## 1.2 Machine Level Language\n## 1.3 Input/Output and core instruction types\n## 1.4 Assembly and high-level languages overview\n## 1.7 Introduction to C Programming\n## 1.8 Origin and development of C\n## 1.9 Applications and evolution of C\n## 1.11 Compiler and interpreter\n## 1.13 Writing a C program\n## Summary, keywords, self-assessment","[{\"question\":\"What is a programming language, and why is it needed?\",\"answer\":\"A programming language is a set of symbols, characters, words, and grammar rules used to construct instructions the computer can interpret. Computers do not understand natural language, so programmers must provide instructions in a formal language the system can execute.\"},{\"question\":\"How do machine level language and high level languages differ?\",\"answer\":\"Machine level language is the lowest level language made of binary digits that the computer recognizes directly. High level languages use more human-friendly syntax and require translation (via a compiler or interpreter) into machine language before execution.\"},{\"question\":\"What stages are involved in program development in C?\",\"answer\":\"Program development in C involves writing a C program using the language syntax, then compiling and interpreting as needed so the code becomes machine language the computer can run. The unit also highlights stages such as understanding language concepts and organizing instructions for input, output, conditions, and repetition.\"}]","Programming In C - Part 1 - Introduction | PDF",1790066769,595,24,[149,153,157,161,165,169,173,177,181,185,189,194,199,204,209,214,219,224,229,233,237,242,247,252],{"page_no":8,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/c8c57078f5657b45b48a07e7a163eea8.webp",983,1295,{"page_no":14,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/8368cf7e83e96a9735f2df9de928f21f.webp",982,1270,{"page_no":81,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/c6e8f0d21597d89da1d27192623600da.webp",981,1269,{"page_no":19,"url":162,"width":163,"height":164},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/3e420ac88985132a9d0e1ec8a92e90e7.webp",980,1268,{"page_no":24,"url":166,"width":167,"height":168},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/803aebeb138935354d72288280f6bcef.webp",979,1385,{"page_no":29,"url":170,"width":171,"height":172},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/f21d5c4fce544fc75fd3acfb9daf3228.webp",978,1383,{"page_no":34,"url":174,"width":175,"height":176},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/0c01f59e9fba6942e3bafe283250ddff.webp",977,1382,{"page_no":39,"url":178,"width":179,"height":180},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/2fb255bc10d0bfd0c4fa409ab575a05e.webp",976,1380,{"page_no":44,"url":182,"width":183,"height":184},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/fb07d53d2cd040c59d690490e8713870.webp",975,1379,{"page_no":52,"url":186,"width":187,"height":188},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/ef882864c35d5fed9722103a35f392c9.webp",974,1378,{"page_no":190,"url":191,"width":192,"height":193},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/f42afc4a536723793bba2b424745a72e.webp",973,1376,{"page_no":195,"url":196,"width":197,"height":198},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/3ae150632039bfcac15d1de335a27d1c.webp",972,1375,{"page_no":200,"url":201,"width":202,"height":203},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/6819f2a5358f8183bc6dcf6a58783685.webp",971,1373,{"page_no":205,"url":206,"width":207,"height":208},14,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/266c9da8cef597a1ed4307e808a00a6f.webp",970,1372,{"page_no":210,"url":211,"width":212,"height":213},15,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/07a743b4b7ae5b76ad521f1e23009035.webp",969,1370,{"page_no":215,"url":216,"width":217,"height":218},16,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/49ff66afb6158087bfa209970213a756.webp",968,1369,{"page_no":220,"url":221,"width":222,"height":223},17,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/331588457372381564c8a253e7068b4c.webp",967,1368,{"page_no":225,"url":226,"width":227,"height":228},18,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/0bd8a550d351c1dd5c99fc06fbc0afd5.webp",966,1366,{"page_no":56,"url":230,"width":231,"height":232},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/059ec39fa5702a998406d09bf2ab8a8e.webp",965,1365,{"page_no":46,"url":234,"width":235,"height":236},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/d53150e446fcf756dc18f952aee301cc.webp",964,1363,{"page_no":238,"url":239,"width":240,"height":241},21,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/3a34b7081b62834fb1d0846871f3072b.webp",963,1362,{"page_no":243,"url":244,"width":245,"height":246},22,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/227497ea06b34fe8ef6105fad897ae31.webp",962,1361,{"page_no":248,"url":249,"width":250,"height":251},23,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/94819537507d9aecb4c3fdc30455937d.webp",961,1359,{"page_no":147,"url":253,"width":254,"height":255},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/9edbf1dda0a30df0be55014e36295798.webp",960,1358]