C Language History, Dennis Ritchie and Standards Notes in Hindi & English : C भाषा का इतिहास, डेनिस रिची (1972, बेल लैब्स) और ANSI C मानक और 20 महत्वपूर्ण MCQ प्रश्न (Rajasthan IT Exam)

Post a Comment

PGDCA, BCA, B-Tech, MCA, M-Tech, B.Sc computer science राजस्थान सूचना सहायक व कंप्यूटर शिक्षक विशेष नोट्स: इस अध्याय में हम C Language History, Dennis Ritchie and Standards (C भाषा का इतिहास, डेनिस रिची (1972, बेल लैब्स) और ANSI C मानक) की संपूर्ण थ्योरी, मुख्य तकनीकी बिंदु, तुलनात्मक तालिका और विगत परीक्षाओं के पैटर्न पर आधारित 20 अति-महत्वपूर्ण बहुविकल्पीय प्रश्न (MCQs) विस्तृत हिंदी व अंग्रेजी व्याख्या सहित पढ़ेंगे।

Overview: Developed between 1969 and 1973 by Dennis M. Ritchie at AT&T Bell Laboratories from Ken Thompson's B and Martin Richards' BCPL, the C language enabled the portable rewriting of the UNIX operating system. Standardized progressively through K&R C (1978), ANSI C89/ISO C90, C99, C11, C17, and C23, C remains the foundational ABI and systems language of modern computing.

अध्याय सार: C प्रोग्रामिंग भाषा का विकास 1969 से 1973 के बीच AT&T बेल लैबोरेटरीज (USA) में डेनिस रिची (Dennis Ritchie) द्वारा केन थॉम्पसन की B भाषा व मार्टिन रिचर्ड्स की BCPL से प्रेरित होकर UNIX ऑपरेटिंग सिस्टम लिखने के लिए किया गया था। K&R C (1978), ANSI C (1989 / ISO C90), C99, C11, C17 और C23 जैसे मानकों ने इसे आधुनिक सिस्टम प्रोग्रामिंग की आधारशिला बनाया।

C Language History, Dennis Ritchie and Standards: Detailed Notes & Architecture (C भाषा का इतिहास, डेनिस रिची (1972, बेल लैब्स) और ANSI C मानक)

1. Historical Lineage: ALGOL 60 -> BCPL -> B -> C at Bell Labs (ऐतिहासिक विकास क्रम: ALGOL 60 -> BCPL -> B -> C)

[EN] C descends from a well-documented lineage of systems languages: ALGOL 60 (1960) introduced structured block syntax, inspiring Cambridge/London's CPL (1963), which Martin Richards distilled into typeless BCPL (1967). In 1969-1970 at Bell Labs, Ken Thompson stripped BCPL down to fit the tiny PDP-7 minicomputer, naming his typeless word-oriented language 'B'. When UNIX moved to the byte-addressable DEC PDP-11, Dennis Ritchie added explicit data types (char, int, pointers, structs) to create 'New B' and then 'C' (1972-1973), allowing Thompson and Ritchie to rewrite the Version 4 UNIX kernel in C instead of assembly.

[HI] C का विकास ALGOL 60 (1960) और कैंब्रिज की CPL (1963) से शुरू होकर मार्टिन रिचर्ड्स की टाइपलेस भाषा BCPL (1967) तक पहुँचा। 1969-70 में बेल लैब्स में केन थॉम्पसन ने BCPL को संक्षिप्त करके PDP-7 के लिए B भाषा बनाई। जब UNIX को बाइट-एड्रेसेबल DEC PDP-11 मशीन पर लाया गया, तो डेनिस रिची ने इसमें char, int, पॉइंटर्स और struct जोड़कर 1972-73 में C भाषा विकसित की और UNIX कर्नेल को असेंबली से C में पुनः लिखा।

2. K&R C (1978) & The Informal White Book Specification (K&R C (1978) और क्लासिक 'व्हाइट बुक' युग)

[EN] In 1978, Brian Kernighan and Dennis Ritchie published 'The C Programming Language' (revered as K&R C or the White Book), which served as the de facto specification across early compilers. K&R C relied on old-style function definitions where parameter types appeared after the closing parenthesis (e.g., int add(a, b) int a, b; { ... }), lacked parameter type checking across calls, and had no void, const, volatile, or enum keywords. Unspecified return types defaulted implicitly to int; the second edition (1988) updated all examples for the draft ANSI C standard.

[HI] 1978 में ब्रायन कर्निघन और डेनिस रिची ने 'The C Programming Language' (K&R C / व्हाइट बुक) पुस्तक प्रकाशित की, जो लगभग एक दशक तक अनौपचारिक मानक रही। K&R C में फंक्शन प्रोटोटाइप जांच, void, const, enum और volatile कीवर्ड्स नहीं थे तथा पैरामीटर के प्रकार कोष्ठक के बाहर घोषित किए जाते थे। बिना रिटर्न टाइप के फंक्शन स्वतः int मान लिए जाते थे; 1988 के दूसरे संस्करण में ANSI C को शामिल किया गया।

3. ANSI C (X3.159-1989) and ISO/IEC 9899:1990 (C89 / C90) (ANSI C (1989) और ISO C90 मानकीकरण)

[EN] To resolve incompatible vendor compiler dialects, ANSI formed the X3J11 committee in 1983 and ratified ANSI X3.159-1989 in December 1989 (widely known as ANSI C or C89). In 1990, the International Organization for Standardization adopted the exact same technical language as ISO/IEC 9899:1990 (C90), altering only clause numbering. ANSI C standardized 32 keywords, introduced compile-time function prototypes, void and generic void* pointers, const/volatile/signed qualifiers, trigraphs, and the 15-header standard library (<stdio.h>, <stdlib.h>, <string.h>).

[HI] अलग-अलग कंपाइलरों के मतभेद समाप्त करने के लिए ANSI ने 1983 में X3J11 समिति बनाई जिसने दिसंबर 1989 में ANSI X3.159-1989 (C89) जारी किया। 1990 में ISO ने इसी समान तकनीकी मानक को ISO/IEC 9899:1990 (C90) के रूप में अपनाया। ANSI C ने 32 कीवर्ड्स, फंक्शन प्रोटोटाइप, void व void* पॉइंटर, const/volatile और <stdio.h> सहित 15 मानक हेडर फाइल्स को आधिकारिक रूप दिया।

4. Modern ISO Standards: C99, C11, C17, and C23 (आधुनिक ISO मानक: C99, C11, C17 और C23)

[EN] ISO C99 (1999) modernized C with // single-line comments, inline functions, long long int, <stdbool.h> (_Bool), fixed-width <stdint.h> types, restrict pointers, Variable-Length Arrays (VLAs), and declarations mixed anywhere in blocks. ISO C11 (2011) added standardized multi-threading (<threads.h>), lock-free atomics (<stdatomic.h>), _Generic type dispatch, _Static_assert, and permanently removed the buffer-overflow-prone gets() function. C17 (ISO 9899:2018) applied defect fixes, and C23 (ISO 9899:2024) promoted bool/true/false/nullptr/constexpr into core keywords while dropping legacy K&R function definitions.

[HI] C99 (1999) ने // कमेंट्स, inline, long long, <stdint.h>, <stdbool.h>, restrict पॉइंटर व VLAs जैसे प्रमुख फीचर्स जोड़े। C11 (2011) ने मल्टी-थ्रेडिंग (<threads.h>), <stdatomic.h>, _Generic, _Static_assert जोड़े तथा असुरक्षित gets() फंक्शन को हटा दिया। C17 (2018) बग-सुधार संस्करण था, जबकि C23 (2024) ने bool, nullptr व constexpr को मुख्य कीवर्ड बनाया और पुरानी K&R फंक्शन शैली समाप्त कर दी।

Syntax, Formula & Technical Example (C Language History, Dennis Ritchie and Standards)

#include <stdio.h>
int add(int a, int b); /* ANSI C89 Function Prototype */

int main(void) {
#ifdef __STDC_VERSION__
    printf("ISO C Standard (__STDC_VERSION__): %ldL\n", __STDC_VERSION__);
#else
    printf("Strict ANSI C89 / ISO C90 Mode\n");
#endif
    printf("UNIX C Year + ANSI C = %d\n", add(1972, 1989));
    return 0;
}
int add(int a, int b) { return a + b; }

C Language History, Dennis Ritchie and Standards Quick Reference & Comparison Table

C Standard MilestoneYear & Committee / AuthorDefining Technical Addition
BCPL & B Predecessors1967 (Martin Richards) & 1969-70 (Ken Thompson)Typeless word-oriented ancestors at Cambridge & Bell Labs
K&R C (Classic C)1972-1978 (Dennis Ritchie & Brian Kernighan)Typed systems language for PDP-11 UNIX; White Book spec
ANSI C89 / ISO C901989 (ANSI X3.159) / 1990 (ISO/IEC 9899)32 keywords, prototypes, void*, const, 15 std headers
ISO C99 & C111999 & 2011 (ISO/IEC JTC1/SC22/WG14)C99: //, stdint.h, VLAs; C11: threads.h, drops gets()

C Language History, Dennis Ritchie and Standards Top 20 Bilingual MCQs with Answers

Q1. Who created the C programming language at AT&T Bell Laboratories in 1972?

(1972 में AT&T बेल लैबोरेटरीज में C प्रोग्रामिंग भाषा का आविष्कार किसने किया था?)

(A) Niklaus Wirth

(B) James Gosling

(C) Dennis M. Ritchie

(D) Bjarne Stroustrup

Correct Answer: (C)

[EN] Dennis Ritchie developed C at Bell Labs (Murray Hill, New Jersey) between 1969 and 1973 to implement UNIX on the PDP-11.

[HI] डेनिस रिची ने 1969-1973 के दौरान बेल लैब्स में PDP-11 पर UNIX लिखने के लिए C भाषा का विकास किया।

Q2. Which two languages directly preceded C in its evolutionary lineage at Cambridge and Bell Labs?

(C भाषा के विकास क्रम में उससे ठीक पहले किन दो भाषाओं (Cambridge व Bell Labs) की भूमिका थी?)

(A) BCPL (Martin Richards) and B (Ken Thompson)

(B) Fortran and COBOL

(C) Smalltalk and Simula

(D) Pascal and Modula-2

Correct Answer: (A)

[EN] Martin Richards created typeless BCPL in 1967; Ken Thompson simplified BCPL into B in 1969-70, from which Ritchie built C.

[HI] मार्टिन रिचर्ड्स की BCPL से केन थॉम्पसन ने B भाषा बनाई और उसी B से रिची ने C भाषा का विकास किया।

Q3. For which major operating system was C originally designed and rewritten in 1973?

(1973 में C भाषा को मूलतः किस प्रमुख ऑपरेटिंग सिस्टम को पुनः लिखने के लिए तैयार किया गया था?)

(A) MS-DOS

(B) CP/M

(C) Windows NT

(D) UNIX (Version 4 kernel on DEC PDP-11)

Correct Answer: (D)

[EN] Rewriting the UNIX kernel from assembly into C in 1973 made UNIX the first portable OS kernel across hardware platforms.

[HI] 1973 में UNIX कर्नेल को असेंबली से C में लिखने पर वह विभिन्न हार्डवेयर पर पोर्टेबल बनने वाला पहला OS बना।

Q4. What does the term 'K&R C' (1978) refer to?

(1978 के 'K&R C' शब्द का संबंध किससे है?)

(A) The 1st edition of 'The C Programming Language' by Kernighan and Ritchie

(B) Microsoft Visual C++ 1.0

(C) The 1999 ISO committee draft

(D) A kernel-only subset created at Kyoto Research Lab

Correct Answer: (A)

[EN] Brian Kernighan and Dennis Ritchie's 1978 book defined informal pre-ANSI C conventions for over a decade.

[HI] ब्रायन कर्निघन और डेनिस रिची की 1978 की प्रसिद्ध पुस्तक 'The C Programming Language' को K&R C कहा जाता है।

Q5. How do ANSI C (C89) and ISO C (C90) differ technically?

(ANSI C (C89) और ISO C (C90) के बीच तकनीकी रूप से क्या अंतर है?)

(A) C90 doubled the keyword count from 32 to 64

(B) They define the exact same language specification with only document section numbering changed

(C) C89 allowed // comments while C90 removed them

(D) C90 introduced C++ classes and inheritance

Correct Answer: (B)

[EN] ISO adopted ANSI X3.159-1989 verbatim in 1990 as ISO/IEC 9899:1990, differing only in boilerplate front matter and numbering.

[HI] ISO ने 1990 में ANSI C89 के समान ही तकनीकी मानक को अपनाया; दोनों में केवल दस्तावेज़ अनुभाग संख्या का अंतर है।

Q6. Which set of features was formally standardized for the FIRST time in ANSI C (1989)?

(निम्नलिखित में से कौन सी सुविधाएँ पहली बार ANSI C (1989) में मानकीकृत की गई थीं?)

(A) Native <threads.h> and _Atomic types

(B) Garbage collection and exception classes

(C) Single-line // comments and <stdint.h>

(D) Function prototypes, void / void*, const, volatile, and enum

Correct Answer: (D)

[EN] K&R C lacked prototypes, void, const, volatile, and standardized headers; ANSI C89 added all of them.

[HI] फंक्शन प्रोटोटाइप, void/void*, const, volatile और मानक हेडर फाइल्स को पहली बार ANSI C89 में जोड़ा गया।

Q7. Which ISO C standard officially introduced single-line // comments, <stdbool.h>, <stdint.h>, and long long int?

(किस ISO C मानक ने आधिकारिक रूप से // सिंगल-लाइन कमेंट्स, <stdbool.h>, <stdint.h> और long long int को जोड़ा?)

(A) C90

(B) C99 (ISO/IEC 9899:1999)

(C) K&R C (1978)

(D) ANSI C89

Correct Answer: (B)

[EN] Before C99, standard C only permitted /* ... */ comments and lacked exact-width <stdint.h> integers or long long.

[HI] C99 मानक ने // कमेंट्स, <stdbool.h>, <stdint.h> और 64-बिट long long int को C में शामिल किया।

Q8. Which unsafe standard library function was permanently REMOVED in the ISO C11 (2011) standard?

(ISO C11 (2011) मानक से किस असुरक्षित स्टैंडर्ड लाइब्रेरी फंक्शन को स्थायी रूप से हटा दिया गया था?)

(A) malloc()

(B) fgets()

(C) printf()

(D) gets()

Correct Answer: (D)

[EN] gets() performs no buffer-bounds checking and causes catastrophic stack buffer overflows, so C11 replaced it entirely with fgets().

[HI] बफर साइज की जांच न करने के कारण बफर ओवरफ्लो होने से C11 ने gets() को हटा दिया और fgets() के उपयोग को अनिवार्य किया।

Q9. Which predefined macro distinguishes C99 (199901L), C11 (201112L), and C17 (201710L) at compile time?

(कंपाइल समय पर C99 (199901L), C11 (201112L) और C17 (201710L) मानकों की पहचान किस पूर्वनिर्धारित मैक्रो से की जाती है?)

(A) __ANSI_VER__

(B) __C_YEAR__

(C) __GNUC_STD__

(D) __STDC_VERSION__

Correct Answer: (D)

[EN] __STDC_VERSION__ expands to a long integer YYYYMM encoding the active ISO C revision (undefined in pure C89/C90).

[HI] __STDC_VERSION__ मैक्रो सक्रिय ISO C मानक का वर्ष-माह (जैसे 199901L, 201112L) लौटाता है।

Q10. What fundamental limitation of Ken Thompson's B language motivated Dennis Ritchie to invent C?

(केन थॉम्पसन की B भाषा की किस मुख्य कमी ने डेनिस रिची को C बनाने के लिए प्रेरित किया?)

(A) B lacked arithmetic operators like + and -

(B) B ran only inside a Java Virtual Machine

(C) B was an object-oriented GUI language

(D) B was typeless (word-oriented) and struggled with byte-level char addressing on the PDP-11

Correct Answer: (D)

[EN] On the byte-addressed PDP-11, manipulating individual characters and mixed-size structures cleanly required explicit types like char and int.

[HI] B भाषा टाइपलेस (केवल वर्ड-आधारित) थी, इसलिए बाइट-आधारित PDP-11 पर char और संरचनाओं को संभालने हेतु रिची ने C विकसित की।

Q11. Under C11, which header provides portable standard multi-threading primitives in C?

(C11 मानक के अंतर्गत पोर्टेबल मल्टी-थ्रेडिंग के लिए कौन सा मानक हेडर जोड़ा गया?)

(A) <conio.h>

(B) <pthread_win.h>

(C) <threads.h>

(D) <dos.h>

Correct Answer: (C)

[EN] C11 added optional <threads.h> (thrd_create, mtx_lock) and <stdatomic.h> to standardize concurrency in C itself.

[HI] C11 में मल्टी-थ्रेडिंग को मानकीकृत करने हेतु <threads.h> और <stdatomic.h> जोड़े गए।

Q12. In pre-ANSI K&R C, what happened when a function declaration omitted its return type?

(पुराने K&R C में यदि किसी फंक्शन का रिटर्न टाइप नहीं लिखा जाता था, तो कंपाइलर उसे क्या मान लेता था?)

(A) Implicit double return type

(B) Immediate preprocessor failure

(C) Implicit void return type

(D) Implicit int return type

Correct Answer: (D)

[EN] C89 tolerated 'implicit int' for backward compatibility, whereas C99 officially abolished implicit int declarations.

[HI] K&R C और C89 में रिटर्न टाइप न होने पर डिफ़ॉल्ट रूप से int माना जाता था (जिसे C99 ने समाप्त कर दिया)।

Q13. Which statement accurately characterizes C23 (ISO/IEC 9899:2024)?

(C23 (ISO/IEC 9899:2024) मानक के संदर्भ में कौन सा कथन सही है?)

(A) It forces every C program to compile as Python bytecode

(B) It reverts C back to 16 keywords only

(C) It eliminates pointers to make C garbage-collected

(D) It makes bool, true, false, nullptr, and constexpr core language features and removes K&R function syntax

Correct Answer: (D)

[EN] C23 modernized C ergonomics with native bool/nullptr/constexpr/#embed and finally deleted obsolete K&R parameter definitions.

[HI] C23 ने bool, true, false, nullptr व constexpr को मुख्य भाषा का हिस्सा बनाया और पुरानी K&R फंक्शन शैली को हटा दिया।

Q14. Which ANSI committee originally drafted the 1989 American National Standard for C?

(1989 का ANSI C मानक मूलतः किस समिति द्वारा तैयार किया गया था?)

(A) IETF RFC 791

(B) W3C HTML5 WG

(C) ANSI X3J11

(D) IEEE 802.3

Correct Answer: (C)

[EN] ANSI formed technical committee X3J11 in 1983, producing ANSI X3.159-1989.

[HI] 1983 में गठित ANSI X3J11 तकनीकी समिति ने 1989 में पहला आधिकारिक C मानक तैयार किया।

Q15. Which C99 keyword enables compiler optimizations by promising that a pointer is the sole active alias to its referenced memory?

(C99 का कौन सा कीवर्ड कंपाइलर को यह गारंटी देता है कि उस मेमोरी ब्लॉक तक पहुँचने का केवल यही एक पॉइंटर है?)

(A) restrict

(B) mutable

(C) volatile

(D) register

Correct Answer: (A)

[EN] Using restrict (e.g., void *memcpy(void *restrict dst, const void *restrict src, size_t n)) eliminates pointer aliasing stalls.

[HI] restrict कीवर्ड पॉइंटर एलियसिंग न होने की पुष्टि करता है जिससे कंपाइलर बेहतर ऑप्टिमाइजेशन कर सकता है।

Q16. Which statement about the history and standards of C is FALSE?

(C भाषा के इतिहास और मानकों के बारे में निम्नलिखित में से कौन सा कथन असत्य (FALSE) है?)

(A) Dennis Ritchie originally designed C in 1995 specifically for web browsers using a virtual machine

(B) C evolved from BCPL and B at Bell Labs

(C) ANSI C standardized 32 reserved keywords in 1989

(D) C99 introduced Variable-Length Arrays and mixed declarations

Correct Answer: (A)

[EN] C was created around 1972 at Bell Labs for systems/UNIX programming—compiled to native machine code, never a 1995 browser VM.

[HI] C का विकास 1972 में बेल लैब्स में सिस्टम प्रोग्रामिंग के लिए हुआ था, न कि 1995 में वेब ब्राउज़र VM के लिए।

Q17. Within C Language History, Dennis Ritchie and Standards, which c standard milestone directly maps to: "1967 (Martin Richards) & 1969-70 (Ken Thompson)"?

(C Language History, Dennis Ritchie and Standards में कौन सा C Standard Milestone सीधे "1967 (Martin Richards) & 1969-70 (Ken Thompson)" से संबंधित है?)

(A) BCPL & B Predecessors

(B) ISO C99 & C11

(C) K&R C (Classic C)

(D) ANSI C89 / ISO C90

Correct Answer: (A)

[EN] In C Language History, Dennis Ritchie and Standards, 'BCPL & B Predecessors' handles '1967 (Martin Richards) & 1969-70 (Ken Thompson)' (Typeless word-oriented ancestors at Cambridge & Bell Labs).

[HI] C Language History, Dennis Ritchie and Standards में 'BCPL & B Predecessors' का कार्य/विवरण '1967 (Martin Richards) & 1969-70 (Ken Thompson)' (Typeless word-oriented ancestors at Cambridge & Bell Labs) है।

Q18. Which option accurately describes 'K&R C (Classic C)' in C Language History, Dennis Ritchie and Standards?

(C Language History, Dennis Ritchie and Standards के संदर्भ में 'K&R C (Classic C)' की सही विशेषता कौन सी है?)

(A) 1967 (Martin Richards) & 1969-70 (Ken Thompson)

(B) 1989 (ANSI X3.159) / 1990 (ISO/IEC 9899)

(C) 1999 & 2011 (ISO/IEC JTC1/SC22/WG14)

(D) 1972-1978 (Dennis Ritchie & Brian Kernighan)

Correct Answer: (D)

[EN] 'K&R C (Classic C)' provides '1972-1978 (Dennis Ritchie & Brian Kernighan)' — key point: Typed systems language for PDP-11 UNIX; White Book spec.

[HI] 'K&R C (Classic C)' का मुख्य विवरण '1972-1978 (Dennis Ritchie & Brian Kernighan)' है (Typed systems language for PDP-11 UNIX; White Book spec)।

Q19. In C Language History, Dennis Ritchie and Standards, identify the correct parameter for the specification: "1989 (ANSI X3.159) / 1990 (ISO/IEC 9899)".

(C Language History, Dennis Ritchie and Standards में "1989 (ANSI X3.159) / 1990 (ISO/IEC 9899)" विवरण किस विकल्प के लिए सही है?)

(A) ANSI C89 / ISO C90

(B) BCPL & B Predecessors

(C) K&R C (Classic C)

(D) ISO C99 & C11

Correct Answer: (A)

[EN] 'ANSI C89 / ISO C90' corresponds to '1989 (ANSI X3.159) / 1990 (ISO/IEC 9899)' (32 keywords, prototypes, void*, const, 15 std headers).

[HI] 'ANSI C89 / ISO C90' का संबंध '1989 (ANSI X3.159) / 1990 (ISO/IEC 9899)' (32 keywords, prototypes, void*, const, 15 std headers) से है।

Q20. Considering C Language History, Dennis Ritchie and Standards, what key behavior defines 'ISO C99 & C11'?

(C Language History, Dennis Ritchie and Standards में 'ISO C99 & C11' की मुख्य भूमिका या मान क्या है?)

(A) 1999 & 2011 (ISO/IEC JTC1/SC22/WG14)

(B) 1989 (ANSI X3.159) / 1990 (ISO/IEC 9899)

(C) 1967 (Martin Richards) & 1969-70 (Ken Thompson)

(D) 1972-1978 (Dennis Ritchie & Brian Kernighan)

Correct Answer: (A)

[EN] 'ISO C99 & C11' represents '1999 & 2011 (ISO/IEC JTC1/SC22/WG14)' (C99: //, stdint.h, VLAs; C11: threads.h, drops gets()).

[HI] 'ISO C99 & C11' का अर्थ/मान '1999 & 2011 (ISO/IEC JTC1/SC22/WG14)' है (C99: //, stdint.h, VLAs; C11: threads.h, drops gets())।

C Language History, Dennis Ritchie and Standards — Exam FAQs

Q1: What is the difference between ANSI C, C89, and C90?

ANSI C, C89 और C90 में क्या अंतर है?

[EN] They all refer to the same original C standard: ANSI ratified it in 1989 (C89 / ANSI X3.159-1989) and ISO adopted the identical specification internationally in 1990 (C90 / ISO 9899:1990).

[HI] तीनों एक ही मानक को दर्शाते हैं: 1989 में अमेरिकी संस्था ANSI द्वारा जारी रूप को C89 व 1990 में ISO द्वारा अपनाए गए समान अंतरराष्ट्रीय रूप को C90 कहा गया।

Q2: Why is C named 'C' instead of something descriptive?

इस भाषा का नाम 'C' ही क्यों रखा गया?

[EN] Simply because it succeeded Ken Thompson's language 'B' (which in turn came from BCPL) at Bell Labs—alphabetically stepping from B to C.

[HI] क्योंकि यह बेल लैब्स में केन थॉम्पसन की 'B' भाषा (जो BCPL से बनी थी) की अगली उत्तराधिकारी थी, इसलिए वर्णमाला के अगले अक्षर पर इसका नाम 'C' पड़ा।

Q3: Which C standard is supported by default in modern GCC and Clang compilers?

आधुनिक GCC और Clang कंपाइलर डिफ़ॉल्ट रूप से किस C मानक का उपयोग करते हैं?

[EN] Modern GCC (GCC 5 to 14) defaults to gnu17 (ISO C17 plus GNU extensions) and GCC 15 transitions toward gnu23; you can enforce strict ISO compliance with flags like -std=c99 or -std=c11.

[HI] आधुनिक GCC और Clang डिफ़ॉल्ट रूप से gnu17 (C17 + GNU एक्सटेंशन) उपयोग करते हैं; सख्त ISO जांच के लिए -std=c99 या -std=c11 फ्लैग प्रयोग किए जाते हैं।

Related Posts

  • Loading related posts...

Post a Comment

Search Topic Notes & 20 MCQs (Hindi / English)