Programming Language C

Programming Language C

The C programming language is a structure oriented programming language, developed at Bell Laboratories in 1972 by Dennis Ritchie

C प्रोग्रामिंग भाषा एक संरचना उन्मुख प्रोग्रामिंग भाषा है, जो डेनिस रिची द्वारा 1972 में बेल प्रयोगशालाओं में विकसित की गई है।

C programming language features were derived from an earlier language called “B” (Basic Combined Programming Language – BCPL)

C प्रोग्रामिंग लैंग्वेज फीचर्स “B” (बेसिक कंबाइंड प्रोग्रामिंग लैंग्वेज – बीसीपीएल) नामक पहले की भाषा से लिए गए थे।

C language was invented for implementing UNIX operating system.

C भाषा का आविष्कार UNIX ऑपरेटिंग सिस्टम को लागू करने के लिए किया गया था।

In 1978, Dennis Ritchie and Brian Kernighan published the first edition “The C Programming Language” and commonly known as K&R C

1978 में, डेनिस रिची और ब्रायन कर्निघन ने “द सी प्रोग्रामिंग लैंग्वेज” का पहला संस्करण प्रकाशित किया और आमतौर पर इसे K&RC के नाम से जाना जाता था।

In 1983, the American National Standards Institute (ANSI) established a committee to provide a modern, comprehensive definition of C. The resulting definition, the ANSI standard, or “ANSI C”, was completed late 1988.

1983 में, अमेरिकी राष्ट्रीय मानक संस्थान (ANSI) ने C की एक आधुनिक, व्यापक परिभाषा प्रदान करने के लिए एक समिति की स्थापना की। परिणामी परिभाषा, ANSI मानक, या “ANSI C”, 1988 के अंत में पूरा हुआ।

Features of C programming language:
C प्रोग्रामिंग भाषा की विशेषताएं

  • Reliability – विश्वसनीयता

  • Portability – पोर्टेबिलिटी

  • Flexibility – लचीलापन

  • Interactivity – इंटरैक्टिविटि

  • Modularity – प्रतिरूपकता

  • Efficiency and Effectiveness – दक्षता और प्रभावशीलता

Uses of C programming language:
C प्रोग्रामिंग लैंग्वेज का उपयोगः

The C programming language is used for developing system applications that forms a major portion of operating systems such as Windows, UNIX and Linux. C being used in…

C प्रोग्रामिंग भाषा का उपयोग सिस्टम एप्लिकेशन को विकसित करने के लिए किया जाता है जो विंडोज, UNIX और लिनक्स जैसे ऑपरेटिंग सिस्टम का एक बड़ा हिस्सा बनाता है। C का उपयोग….

  • Database systems – डेटाबेस सिस्टम

  • Graphics packages – ग्राफिक्स पैकेजेस

  • Word processors – वर्ड प्रोसेसर्स

  • Spreadsheets – स्प्रेडशीट्स

  • Operating system development – ऑपरेटिंग सिस्टम डेवलपमेंट

  • Compilers and Assemblers – कम्पाइलर्स और असेम्बरलर्स

  • Network drivers – नेटवर्क ड्राइवर्स

  • Interpreters – इंटरप्रेटर्स

Python – पॉयथन

Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and officially released on February 20, 1991. Python was conceived in the late 1980s as a successor to the ABC language. Python 2.0 released 2000. Python 3.0 released 2008, was a major revision of the language that is not completely backward-compatible, and much Python 2 code does not run unmodified on Python 3. Due to concern about the amount of code written for Python 2, support for Python 2.7 (the last release in the 2.x series) was extended to 2020. We will discuss this language in Chapter 3 of this book.

पॉयथन एक इंटरप्रेटेड, हाई-लेवल, सामान्य-प्रयोजन प्रोग्रामिंग भाषा है। गुइडो वैन रोसुम द्वारा निर्मित और आधिकारिक तौर पर 20 फरवरी, 1991 को रिलीज हुई। एबीसी भाषा के उत्तराधिकारी के रूप में 1980 के दशक के अंत में पायथन की कल्पना* की गई थी। पायथन 2.0 ने 2000 में रिलीज किया गया। पायथन 3.0 को 2008 में रिलीज किया गया था, यह उस भाषा का एक प्रमुख संशोधन था जो पूरी तरह से पिछड़े-संगत नहीं है, और पायथन 2 कोड पायथन 3 पर अनमॉडिफाइड नहीं चलताहै। पायथन 2 के लिए लिखे गए कोड की मात्रा के बारे में चिंता के कारण, पायथन 2.7 के लिए समर्थन (2.x श्रृंखला में अंतिम रिलीज) को 2020 तक बढ़ाया गया था। हम इस पुस्तक के अध्याय 3 में इस भाषा पर चर्चा करेंगे।

Compilation – संकलन

Compilation is the phase or pre-step of execution where a program source code is converted into object code and then transferred for execution as per commanded by the user. A Compiler is a utility program which converts to high level program code into machine level code or binary level code which further is ready to be executed. The work of a compiler is basically considered in two ways, the first one is to check the errors in the program and the second one is to convert this into object code then after this sends the object code for execution.

कंपाइलेशन निष्पादन का वह चरण या पूर्व-चरण है जहां प्रोग्राम सोर्स कोड को ऑब्जेक्ट कोड में परिवर्तित किया जाता है और फिर यूजर द्वारा आदेशानुसार निष्पादन के लिए स्थानांतरित किया जाता है। कंपाइलर एक यूटिलिटी प्रोग्राम है जो हाई लेवल प्रोग्राम कोड को मशीन लेवल कोड या बाइनरी लेवल कोड में परिवर्तित करता है जो आगे निष्पादित होने के लिए तैयार है। एक कंपाइलर का काम मूल रूप से दो तरह से माना जाता है, पहला है प्रोग्राम में एरर की जांच करना और दूसरा है इसे ऑब्जेक्ट कोड में बदलना। इसके बाद ऑब्जेक्ट कोड को निष्पादन के लिए भेजता है।

The Compilation event is handled by three different utility programs in some kind of programming languages.

कंपाइलेशन इवेंट को कुछ अलग तरह की प्रोग्रामिंग भाषाओं में तीन अलग-अलग यूटिलिटि प्रोग्राम द्वारा नियंत्रित किया जाता है।

  • Assembler – Assembly Level Languages असेंबलर- असेंबली लेवल लैंग्वेज

  • Compiler – High Level Languages कंपाइलर- हाई लेवल लैंग्वेज

  • Interpreter – High Level Languages इंटरप्रेटर- हाई लेवल लैंग्वेज

The Assembler, Compiler and Interpreter are the programs (Utilities) which they convert the high or middle level program code into machine level information or binary code. A Computer didn’t understand anything rather than binary information so the program code you write is in whether High or Assembly level language which is no longer a computer understands that’s why we need a kind of translator as Assembler, Compiler or Interpreter to make the things executed.

असेंबलर, कंपाइलर और इंटरप्रेटर प्रोग्राम (यूटिलिटीज) हैं जो वे उच्च या मध्यम स्तर के प्रोग्राम कोड को मशीन स्तर की जानकारी या बाइनरी कोड में परिवर्तित करते हैं। एक कंप्यूटर बाइनरी जानकारी के बजाय कुछ भी नहीं समझता था इसलिए आप जो प्रोग्राम कोड लिखते हैं वह उच्च या असेंबली लेवल की भाषा में होता है जो अब कंप्यूटर नहीं है यह समझता है कि हमें चीजों को बनाने के लिए असेंबलर, कंपाइलर या इंटरप्रेटर के रूप में अनुवादक की आवश्यकता क्यों है।

Chapter wise Model Paper Link