Skip to main content

C Language in Hindi – Introduction

  • Introduction to C language in Hindi 
  • Advantage of C language in Hindi
  • Disadvantage of C language in Hindi
  • Introduction of C Language

    C language एक programming language है | जिसका use कर के applications बना सकते है | इसे unix operating system को दुबारा लिखने के लिए develop किया गया था | क्योकि unix operating system को B language में लिखा गया था। unix operating system मे जादातर programs भी B language मे लिखे गये थे |
    B language को Ken Thompson के द्वारा 1970 में Bell laboratories में develop की गई थी। लेकिन B language ज्यादा popular नहीं हो पायी थी। फिर C language को Dennis Ritchie ने 1972 and 1973 में develop किया था। और C language को भी bell laboratories में ही develop किया गया था।
    C language एक simple language है | C language के द्वारा जादा तर mathematical programs लिखे जाते है | और C language को popular होने मे जादा time नही लगा |
C language को Mother Language भी कहा जाता है क्यों C language के बाद जो भी language बनाई गयी for example ( Java , PHP , c# , या c++ ) इन सभी language मे C language का concept use किया गया है |

Versions of C Language

C Language को Brian Kernighan and Dennis Ritchie ने 1978 मे publish किया था | C language के अब तक कई version आ चुके है जिन्हें हम निचे blocks मे दे रहे है |
  • K & R – यह C language का original language है | इस version को 1978 मे लाया गया था | और इस version मे Standard I/O library जैसी function available थी |
  • ANSI C and ISO C – इस version को American National Standards Institute ( ANSI ) and
    International Organization for Standardization ( ISO ) के द्वारा 1989/1990 मे publish किया गया था |
  • C99 – इस version को 1999 मे publish किया गया था | और इस version मे कुछ नये feature add किये गये थे जैसे – inline functions, several new data types, long int आदि |
  • C11 – इस version को 2011 मे publish किया गया था | और इस version मे भी कुछ नये feature add किये गये थे जैसे – library, including type generic macros, anonymous structures आदि |
  • C18 – इस version को June 2018 मे publish किया गया था |

Advantage of C language

1 – C language एक simple और easy language है | जिसका use आसानी से किया जा सकता है | और C language की सबसे बड़ी खासियत यह है | की C language मे लिखा गया code बहुत ही fast होता है | यानी C language की execution time fast होती है |
2 – C एक structured programming language है। और C language मे हम functions बना सकते है | और अपने code को और भी अच्छे से manage कर सकते है |
3 – C language मे C 32 reserved के द्वारा कुछ keyword provide की गयी है | जो ऐसे शब्द हैं, जिनका उपयोग किसी अन्य उद्देश्य के लिए नहीं किया जा सकता है | जिसके लिए वे पूर्वनिर्धारित हैं |
4 – C एक middle level language है। जो high level और low level की application बनाने मे सक्षम है | यह feature उन programmers के लिए एक advantage है जो high level और low level की applications create करना चाहते है।
5 – Assembly language के बाद सबसे fast language C language को ही माना जाता है | इसलिए ये दूसरी programming languages से fast होती है। C language में create की गयी applications की processing बहुत ही fast होती है।

Disadvantage of C language

C language एक powerful language है | लेकिन C language में कुछ कमियाँ भी है | जो C language को सीमित बनाती है। चलिए C language के कुछ Limitations के बारे मे जानते है |
1 – C language में run time checking नहीं होती है। C language में किसी भी variable के type को identify करने में सक्षम नही होती है।
2 – C language मे re-usability ( inheritance ) support नहीं करती है। और C language में exceptions को run time में handle नहीं किया जा सकता है।
3 – C language object oriented programming को support नहीं करता है | जैसे – classes, objects, interfaces आदि |  

Usage of C Language

C language का use system application या network drivers बनाने के लिए किया जाता है | क्योंकि यह कोड का उत्पादन करता है | जो Assembly language में लिखे गए कोड के रूप में तेजी से चलता है। C language मे उपयोग के लिए कुछ उदाहरण निचे दे रहे है |
  • Operating Systems
  • Language Compilers
  • Assemblers
  • Text Editors
  • Print Spoilers
  • Network Drivers
  • Modern Programs
  • Data Bases
  • Language Interpreters
  • Utilities
ऊपर दिये गये blocks मे आप देख सकते है | C language का use किन किन क्षेत्र मे किया जाता है |

Comments

Popular posts from this blog

Recursive program to insert a star between pair of identical characters

Given a string with repeated characters, we have to insert a star i.e. ” * “  between pair of adjacent identical characters using recursion. Examples: Input : aabb Output : a*ab*b Input : xxxy Output : x*x*xy Recommended: Please try your approach on  {IDE}  first, before moving on to the solution. Approach: If there is an empty string then simply return. This forms our  base condition . Else we do the following- Check if the first two characters are identical. If yes, then insert ” * ” between them. As we have now checked for identical characters at first two positions of the string so we now make a recursive call  without the first character of the string . The above approach has been implemented below: C filter_none edit play_arrow brightness_4 // Recursive CPP program to insert * between // two consecutive same characters. #include <iostream> using namespace std;     // Funct...

Count the number of objects using Static member function

Write a program to design a class having static member function named showcount() which has the property of displaying the number of objects created of the class. Explanation:  In this program we are simply explaining the approach of static member function. We can define class members and member functions as static using static keyword. Before understanding static member function, we must understand static member. When we declare a member of a class as static it means no matter how many objects of the class are created, there is  only one copy of the static member . Important points about Static : A static member is shared by all objects of the class, all static data is initialized to zero when the first object is created, if no other initialization is present. A static member function can only access static data member, other static member functions and any other functions from outside the class. By declaring a function member as static, we make it independent of any ...

C program to evaluate the net salary of an employee given the following constraints

Given the following constrains and we have to calculate net salary of an employee. Basic salary  : $ 12000 DA  : 12% of Basic salary HRA  : $150 TA  : $120 Others  : $450 Tax cuts  – a) PF :14% of Basic salary and b) IT: 15% of Basic salary Net Salary  = Basic Salary + DA + HRA + TA + Others – (PF + IT) Consider the program: # include < stdio.h > //main program int main ( ) { //variable to store values float basic , da , hra , ta , others ; float pf , it ; float net_salary ; //input required fields printf ( " Enter Basic Salary ($): " ) ; scanf ( " %f " , & basic ) ; printf ( " Enter HRA ($): " ) ; scanf ( " %f " , & hra ) ; printf ( " Enter TA ($): " ) ; scanf ( " %f " , & ta ) ; printf ( " Enter others ($): " ) ; scanf ( " %f " , & others ) ; //calculate DA 12% of Basic Salary da = ( basic * 12 ) / 100 ; //calculate PF 1...