SlideShare a Scribd company logo
1 of 8
Introduction To
C Language
Created By:
Tarun Sharma
Table of Contents
 What is C?
 Why we learn C?
 Use of C language
 Evolution of C language
 Features of C language
2
What is C Language?
 C is a high level programming language used to create high level programs. C
language is a general purpose and structured programming language developed
by 'Dennis Ritchie' at AT &T's Bell Laboratories in the 1972s in USA. It is also called
as 'Procedure oriented programming language.' C began to replace the more
familiar languages of that time like PL/1, ALGOL etc. Possibly, C seems so popular
because it is reliable, simple and easy to use
 C is not specially designed for specific applications areas like COBOL (Common
Business-Oriented Language) or FORTRAN (Formula Translation). It is well suited
for business and scientific applications. It has some various features like control
structures, looping statements, arrays, macros required for these applications. .
3
Why we Learn C Language?
 Let's say that you were going to be learning Spanish, Italian, or French. Do you
think knowing Latin would be helpful? Just as Latin was the basis of all of those
languages, knowing C will enable you to understand and appreciate an entire
family of programming languages built upon the traditions of C. Knowledge of C
enables freedom.
4
Use of C Language
 C language is the most commonly used programming language. It is used for
writing operating systems. UNIX was the first operating system written in C. Later
Microsoft Windows, Mac OS X, and GNU/Linux were all written in C. Not only is C
the language of operating systems, it is the precursor and inspiration for almost all
of the most popular high-level languages available today. In fact, Perl, PHP, Python
and Ruby are all written in C.
5
Evolution of C Language
 An international committee developed ALGOL 60 language, ALGOL 60 never
became popular because it was too abstract and too general.
 To reduce this abstractness and generality, a new language called Combined
Programming Language (CPL) was developed at Cambridge University. It is so big,
having so many features, this it was hard to learn and difficult to implement.
 Basic Combined Programming Language (BCPL), developed by Martin Richards at
Cambridge University to solve the problems of CPL. But unfortunately it turned out
to be too less powerful and too specific.
 Around same time a language called “B” was written by Ken Thompson at AT & T
Bell Labs, as a further simplification of CPL. But like BCPL, B is also too specific.
 Finally Dennis Ritchie inherited the features of B and BCPL, added some of his own
stuff and developed “C”.
6
Features of C Language
 Robust language, which can be used to write any complex program.
 Well-suited for writing both system software and business applications.
 Dynamic memory allocation
 C is highly portable.
 A ‘C’ program is basically a collection of functions that are supported by the ‘C’ library.
 Program written in C language are efficient & fast.
 ‘C’ is a free form language.
 Case sensitive.
 C has 32 keywords.
 ‘C’ is a structure or procedural programming language that are use top-down approach.
7
Thank You
8

More Related Content

What's hot (20)

Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
Introduction to c_language
Introduction to c_languageIntroduction to c_language
Introduction to c_language
 
introduction to c language
 introduction to c language introduction to c language
introduction to c language
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
Introduction to C Language
Introduction to C LanguageIntroduction to C Language
Introduction to C Language
 
C Programming Unit-1
C Programming Unit-1C Programming Unit-1
C Programming Unit-1
 
C basics 4 std11(GujBoard)
C basics 4 std11(GujBoard)C basics 4 std11(GujBoard)
C basics 4 std11(GujBoard)
 
Introduction to Computer
Introduction to ComputerIntroduction to Computer
Introduction to Computer
 
History of c++
History of c++ History of c++
History of c++
 
C++ programming
C++ programmingC++ programming
C++ programming
 
How to execute a C program
How to execute a C  program How to execute a C  program
How to execute a C program
 
C language
C languageC language
C language
 
C++
C++C++
C++
 
Introduction to c++
Introduction to c++Introduction to c++
Introduction to c++
 
generation of programming language
generation of programming languagegeneration of programming language
generation of programming language
 
C PROGRAMMING
C PROGRAMMINGC PROGRAMMING
C PROGRAMMING
 
C program compiler presentation
C program compiler presentationC program compiler presentation
C program compiler presentation
 
C presentation book
C presentation bookC presentation book
C presentation book
 
Prgramming paradigms
Prgramming paradigmsPrgramming paradigms
Prgramming paradigms
 
C#.NET
C#.NETC#.NET
C#.NET
 

Viewers also liked

Etlo Charleston
Etlo CharlestonEtlo Charleston
Etlo Charlestonelizkeren
 
Macul Cell Part1
Macul Cell Part1Macul Cell Part1
Macul Cell Part1elizkeren
 
Introduction to c programming language
Introduction to c programming languageIntroduction to c programming language
Introduction to c programming languagesanjay joshi
 
Inside the celll
Inside the celllInside the celll
Inside the celllSakil Ahmed
 
Ill effects of mobile
Ill effects of mobileIll effects of mobile
Ill effects of mobilesurbhi_vijh
 
The impact of smart phones.pptx 4
The impact of smart phones.pptx 4The impact of smart phones.pptx 4
The impact of smart phones.pptx 4kkoe3
 
Overview of c language
Overview of c languageOverview of c language
Overview of c languageshalini392
 
The negative impact caused by smartphones.ppt 11
The negative impact caused by smartphones.ppt 11The negative impact caused by smartphones.ppt 11
The negative impact caused by smartphones.ppt 11cebilewaikiki
 
A presentation on hazards of cell phones
A presentation on hazards of cell phonesA presentation on hazards of cell phones
A presentation on hazards of cell phoneskalyanikatta
 
C Programming Language Tutorial for beginners - JavaTpoint
C Programming Language Tutorial for beginners - JavaTpointC Programming Language Tutorial for beginners - JavaTpoint
C Programming Language Tutorial for beginners - JavaTpointJavaTpoint.Com
 
Effect of using mobile phone
Effect of using mobile phoneEffect of using mobile phone
Effect of using mobile phonePiyali Goswami
 
INTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMINGINTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMINGAbhishek Dwivedi
 
Smartphones presentation
Smartphones presentationSmartphones presentation
Smartphones presentationfdla1
 
Smartphones powerpoint presentation
Smartphones powerpoint presentationSmartphones powerpoint presentation
Smartphones powerpoint presentationnhla4
 
Ppt on World Of Smartphones
Ppt on World Of SmartphonesPpt on World Of Smartphones
Ppt on World Of SmartphonesPulkit Syal
 
Advantages and Disadvantages of Mobile phone
Advantages and Disadvantages of Mobile phoneAdvantages and Disadvantages of Mobile phone
Advantages and Disadvantages of Mobile phoneMuhammad Ali
 

Viewers also liked (20)

Etlo Charleston
Etlo CharlestonEtlo Charleston
Etlo Charleston
 
Macul Cell Part1
Macul Cell Part1Macul Cell Part1
Macul Cell Part1
 
Introduction of c language
Introduction of c languageIntroduction of c language
Introduction of c language
 
Introduction to c programming language
Introduction to c programming languageIntroduction to c programming language
Introduction to c programming language
 
Inside the celll
Inside the celllInside the celll
Inside the celll
 
Ill effects of mobile
Ill effects of mobileIll effects of mobile
Ill effects of mobile
 
The impact of smart phones.pptx 4
The impact of smart phones.pptx 4The impact of smart phones.pptx 4
The impact of smart phones.pptx 4
 
Overview of c language
Overview of c languageOverview of c language
Overview of c language
 
Back to School Is It Worth It?
Back to School Is It Worth It?Back to School Is It Worth It?
Back to School Is It Worth It?
 
The negative impact caused by smartphones.ppt 11
The negative impact caused by smartphones.ppt 11The negative impact caused by smartphones.ppt 11
The negative impact caused by smartphones.ppt 11
 
A presentation on hazards of cell phones
A presentation on hazards of cell phonesA presentation on hazards of cell phones
A presentation on hazards of cell phones
 
C ppt
C pptC ppt
C ppt
 
Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Introduction to C Programming
 
C Programming Language Tutorial for beginners - JavaTpoint
C Programming Language Tutorial for beginners - JavaTpointC Programming Language Tutorial for beginners - JavaTpoint
C Programming Language Tutorial for beginners - JavaTpoint
 
Effect of using mobile phone
Effect of using mobile phoneEffect of using mobile phone
Effect of using mobile phone
 
INTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMINGINTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMING
 
Smartphones presentation
Smartphones presentationSmartphones presentation
Smartphones presentation
 
Smartphones powerpoint presentation
Smartphones powerpoint presentationSmartphones powerpoint presentation
Smartphones powerpoint presentation
 
Ppt on World Of Smartphones
Ppt on World Of SmartphonesPpt on World Of Smartphones
Ppt on World Of Smartphones
 
Advantages and Disadvantages of Mobile phone
Advantages and Disadvantages of Mobile phoneAdvantages and Disadvantages of Mobile phone
Advantages and Disadvantages of Mobile phone
 

Similar to Introduction to C Language

Introduction to c
 Introduction to c Introduction to c
Introduction to cSatveer Mann
 
20210417-cppRelevancy-DataStructures.pptx
20210417-cppRelevancy-DataStructures.pptx20210417-cppRelevancy-DataStructures.pptx
20210417-cppRelevancy-DataStructures.pptxSuman Garai
 
Introduction of c language
Introduction of c languageIntroduction of c language
Introduction of c languageTeena Bosamiya
 
Why C is Called Structured Programming Language
Why C is Called Structured Programming LanguageWhy C is Called Structured Programming Language
Why C is Called Structured Programming LanguageSinbad Konick
 
Programming And Programming languages.pptx
Programming And Programming languages.pptxProgramming And Programming languages.pptx
Programming And Programming languages.pptxRohan Basnet
 
A Research Study of Data Collection and Analysis of Semantics of Programming ...
A Research Study of Data Collection and Analysis of Semantics of Programming ...A Research Study of Data Collection and Analysis of Semantics of Programming ...
A Research Study of Data Collection and Analysis of Semantics of Programming ...IRJET Journal
 
C programming short notes by pulkit modi
C programming short notes by pulkit modiC programming short notes by pulkit modi
C programming short notes by pulkit modiPulkitmodi1998
 
6 Week C++ Language Training In Ambala
6 Week C++ Language Training In Ambala6 Week C++ Language Training In Ambala
6 Week C++ Language Training In AmbalaBatra Computer Centre
 
C language myths & secrets
C language myths & secretsC language myths & secrets
C language myths & secretsankush1510
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programminghamza239523
 
Programming language (JGMNHS)
Programming language (JGMNHS)Programming language (JGMNHS)
Programming language (JGMNHS)Katherine Gamboa
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming LanguageSimplilearn
 
computer languages
computer languagescomputer languages
computer languagesYasirali328
 

Similar to Introduction to C Language (20)

What is C.docx
What is C.docxWhat is C.docx
What is C.docx
 
Introduction to c
 Introduction to c Introduction to c
Introduction to c
 
20210417-cppRelevancy-DataStructures.pptx
20210417-cppRelevancy-DataStructures.pptx20210417-cppRelevancy-DataStructures.pptx
20210417-cppRelevancy-DataStructures.pptx
 
Introduction of c language
Introduction of c languageIntroduction of c language
Introduction of c language
 
Speaking in Tongues
Speaking in TonguesSpeaking in Tongues
Speaking in Tongues
 
Why C is Called Structured Programming Language
Why C is Called Structured Programming LanguageWhy C is Called Structured Programming Language
Why C is Called Structured Programming Language
 
Programming And Programming languages.pptx
Programming And Programming languages.pptxProgramming And Programming languages.pptx
Programming And Programming languages.pptx
 
A Research Study of Data Collection and Analysis of Semantics of Programming ...
A Research Study of Data Collection and Analysis of Semantics of Programming ...A Research Study of Data Collection and Analysis of Semantics of Programming ...
A Research Study of Data Collection and Analysis of Semantics of Programming ...
 
C programming short notes by pulkit modi
C programming short notes by pulkit modiC programming short notes by pulkit modi
C programming short notes by pulkit modi
 
C Language
C LanguageC Language
C Language
 
6 Week C++ Language Training In Ambala
6 Week C++ Language Training In Ambala6 Week C++ Language Training In Ambala
6 Week C++ Language Training In Ambala
 
C language myths & secrets
C language myths & secretsC language myths & secrets
C language myths & secrets
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programming
 
Programming language (JGMNHS)
Programming language (JGMNHS)Programming language (JGMNHS)
Programming language (JGMNHS)
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 
Ctutor
CtutorCtutor
Ctutor
 
Ctutor
CtutorCtutor
Ctutor
 
Ctutor
CtutorCtutor
Ctutor
 
computer languages
computer languagescomputer languages
computer languages
 
Introduction to c
Introduction to cIntroduction to c
Introduction to c
 

More from Tarun Sharma

Control Flow Statements
Control Flow Statements Control Flow Statements
Control Flow Statements Tarun Sharma
 
C Question Paper Solution - MDSU Ajmer
C Question Paper Solution - MDSU AjmerC Question Paper Solution - MDSU Ajmer
C Question Paper Solution - MDSU AjmerTarun Sharma
 
Remote Desktop Access
Remote Desktop AccessRemote Desktop Access
Remote Desktop AccessTarun Sharma
 
Generations of Programming Languages
Generations of Programming LanguagesGenerations of Programming Languages
Generations of Programming LanguagesTarun Sharma
 

More from Tarun Sharma (7)

Control Flow Statements
Control Flow Statements Control Flow Statements
Control Flow Statements
 
C Token’s
C Token’sC Token’s
C Token’s
 
C Question Paper Solution - MDSU Ajmer
C Question Paper Solution - MDSU AjmerC Question Paper Solution - MDSU Ajmer
C Question Paper Solution - MDSU Ajmer
 
Armstrong numbers
Armstrong numbersArmstrong numbers
Armstrong numbers
 
Data types in C
Data types in CData types in C
Data types in C
 
Remote Desktop Access
Remote Desktop AccessRemote Desktop Access
Remote Desktop Access
 
Generations of Programming Languages
Generations of Programming LanguagesGenerations of Programming Languages
Generations of Programming Languages
 

Recently uploaded

CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 

Recently uploaded (20)

CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 

Introduction to C Language

  • 2. Table of Contents  What is C?  Why we learn C?  Use of C language  Evolution of C language  Features of C language 2
  • 3. What is C Language?  C is a high level programming language used to create high level programs. C language is a general purpose and structured programming language developed by 'Dennis Ritchie' at AT &T's Bell Laboratories in the 1972s in USA. It is also called as 'Procedure oriented programming language.' C began to replace the more familiar languages of that time like PL/1, ALGOL etc. Possibly, C seems so popular because it is reliable, simple and easy to use  C is not specially designed for specific applications areas like COBOL (Common Business-Oriented Language) or FORTRAN (Formula Translation). It is well suited for business and scientific applications. It has some various features like control structures, looping statements, arrays, macros required for these applications. . 3
  • 4. Why we Learn C Language?  Let's say that you were going to be learning Spanish, Italian, or French. Do you think knowing Latin would be helpful? Just as Latin was the basis of all of those languages, knowing C will enable you to understand and appreciate an entire family of programming languages built upon the traditions of C. Knowledge of C enables freedom. 4
  • 5. Use of C Language  C language is the most commonly used programming language. It is used for writing operating systems. UNIX was the first operating system written in C. Later Microsoft Windows, Mac OS X, and GNU/Linux were all written in C. Not only is C the language of operating systems, it is the precursor and inspiration for almost all of the most popular high-level languages available today. In fact, Perl, PHP, Python and Ruby are all written in C. 5
  • 6. Evolution of C Language  An international committee developed ALGOL 60 language, ALGOL 60 never became popular because it was too abstract and too general.  To reduce this abstractness and generality, a new language called Combined Programming Language (CPL) was developed at Cambridge University. It is so big, having so many features, this it was hard to learn and difficult to implement.  Basic Combined Programming Language (BCPL), developed by Martin Richards at Cambridge University to solve the problems of CPL. But unfortunately it turned out to be too less powerful and too specific.  Around same time a language called “B” was written by Ken Thompson at AT & T Bell Labs, as a further simplification of CPL. But like BCPL, B is also too specific.  Finally Dennis Ritchie inherited the features of B and BCPL, added some of his own stuff and developed “C”. 6
  • 7. Features of C Language  Robust language, which can be used to write any complex program.  Well-suited for writing both system software and business applications.  Dynamic memory allocation  C is highly portable.  A ‘C’ program is basically a collection of functions that are supported by the ‘C’ library.  Program written in C language are efficient & fast.  ‘C’ is a free form language.  Case sensitive.  C has 32 keywords.  ‘C’ is a structure or procedural programming language that are use top-down approach. 7