SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Downloaden Sie, um offline zu lesen
 C language is very easy and a powerful
computer programming language bbecause it
is very small and structured.
 C language is a Middle level language i.e.
suitable for systems programming.
 It is a case sensitive language.
 It is highly portable language.
 C is a procedural or sequential language.
 It is easy to learn and understand.
 It is a small language
 C language was invented by DENNIS RITCHIE
at Bell Laboratories in between 1969 1nd
1973.
 C language was standardized by ANSI in
1989 and known as ANSI C.
 Portability- C is a machine independent and
highly portable language.
 Robustness- C has a set of built in functions and
operators.
 Easy to understand and learn as it has only 32
keywords.
 Fast and Efficient
 Flexible- It is not only for system but also for
embedded system commercial data processing.
 Integration with UNIX.
 C has a large library of functions.
 Complexity- Difficulty in solving complex
problems.
 Difficult to debug.
 Difficult to modify.
 Error-prone
 Diffficult to write large programs.
 Character set
 Data Types
 Constants
 Keywords
 Variables
 Grammer(Syntax & semantics
 Documentation Section (optional)
 Link Section (optional)
 Defining Section (optional)
 Global Declaration Section (optional)
 Main Function Section ( )
{
Declaration part
Executable part
}
 Subprogram Section (optional)
 Function 1
 Function 2
 Function n
/* This is a sample C program. */
#include <stdio.h>
#include <conio.h>
main ( )
{
clrscr ( );
printf (“Hello n”);
getch ( );
}
C program is executed in 3 phases:
 Create a source code file.
[Empty file(input) – Source Code
file(output)]
 Compilation
[Source code file(input) – object
file(output)]
 Linking
[Object File(input) – Executable File
(output)]
Introduction to  c
Introduction to  c

Weitere ähnliche Inhalte

Was ist angesagt?

D turner techreport
D turner techreportD turner techreport
D turner techreportdavid114811
 
Programming language
Programming languageProgramming language
Programming languageShuja Qais
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languagespy7rjs
 
Generations of programming language
Generations of programming languageGenerations of programming language
Generations of programming languageJAIDEVPAUL
 
Program & language generation
Program & language generationProgram & language generation
Program & language generationBuxoo Abdullah
 
Generations of Programming Languages
Generations of Programming LanguagesGenerations of Programming Languages
Generations of Programming LanguagesTarun Sharma
 
Introduction to C Language
Introduction to C LanguageIntroduction to C Language
Introduction to C LanguageTarun Sharma
 
Principles of-programming-languages-lecture-notes-
Principles of-programming-languages-lecture-notes-Principles of-programming-languages-lecture-notes-
Principles of-programming-languages-lecture-notes-Krishna Sai
 
Programing languages
Programing languagesPrograming languages
Programing languagesDanyal Ahmad
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentationfazli khaliq
 

Was ist angesagt? (19)

D turner techreport
D turner techreportD turner techreport
D turner techreport
 
Programming language
Programming languageProgramming language
Programming language
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
 
C programming
C programmingC programming
C programming
 
C basic
C basicC basic
C basic
 
Generations of programming language
Generations of programming languageGenerations of programming language
Generations of programming language
 
Program & language generation
Program & language generationProgram & language generation
Program & language generation
 
Lecture # 1
Lecture # 1Lecture # 1
Lecture # 1
 
Programming landuages
Programming landuagesProgramming landuages
Programming landuages
 
Presentation on Programming Languages.
Presentation on Programming Languages.Presentation on Programming Languages.
Presentation on Programming Languages.
 
Programming assignment help
Programming assignment helpProgramming assignment help
Programming assignment help
 
Generations of Programming Languages
Generations of Programming LanguagesGenerations of Programming Languages
Generations of Programming Languages
 
Introduction to c language
Introduction to c language Introduction to c language
Introduction to c language
 
Introduction to C Language
Introduction to C LanguageIntroduction to C Language
Introduction to C Language
 
Principles of-programming-languages-lecture-notes-
Principles of-programming-languages-lecture-notes-Principles of-programming-languages-lecture-notes-
Principles of-programming-languages-lecture-notes-
 
Programing languages
Programing languagesPrograming languages
Programing languages
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
 
C Language
C LanguageC Language
C Language
 
A&a&r&n
A&a&r&nA&a&r&n
A&a&r&n
 

Ähnlich wie Introduction to c

Ähnlich wie Introduction to c (20)

Introduction to C Programming (1).pdf
Introduction to C Programming (1).pdfIntroduction to C Programming (1).pdf
Introduction to C Programming (1).pdf
 
Introduction to c
Introduction to cIntroduction to c
Introduction to c
 
3. Introduction to C language ||Learn C Programming Complete.
3. Introduction to C language ||Learn C Programming Complete.3. Introduction to C language ||Learn C Programming Complete.
3. Introduction to C language ||Learn C Programming Complete.
 
8505548.ppt
8505548.ppt8505548.ppt
8505548.ppt
 
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
 
1.C Programming Language.pdf
1.C Programming Language.pdf1.C Programming Language.pdf
1.C Programming Language.pdf
 
CS3251-_PIC
CS3251-_PICCS3251-_PIC
CS3251-_PIC
 
What is C.docx
What is C.docxWhat is C.docx
What is C.docx
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
Unit 1
Unit 1Unit 1
Unit 1
 
English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacion
 
20210417-cppRelevancy-DataStructures.pptx
20210417-cppRelevancy-DataStructures.pptx20210417-cppRelevancy-DataStructures.pptx
20210417-cppRelevancy-DataStructures.pptx
 
Learn c programming
Learn c programmingLearn c programming
Learn c programming
 
C programming presentation for university
C programming presentation for universityC programming presentation for university
C programming presentation for university
 
Programming in c
Programming in cProgramming in c
Programming in c
 
Programming in C
Programming in CProgramming in C
Programming in C
 
Programming Language
Programming LanguageProgramming Language
Programming Language
 
class1.pdf
class1.pdfclass1.pdf
class1.pdf
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languages
 
Introduction to embedded c
Introduction to embedded cIntroduction to embedded c
Introduction to embedded c
 

Kürzlich hochgeladen

Immutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfImmutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfDrew Moseley
 
Javier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier Fernández Muñoz
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfalene1
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewsandhya757531
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionSneha Padhiar
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 
The Satellite applications in telecommunication
The Satellite applications in telecommunicationThe Satellite applications in telecommunication
The Satellite applications in telecommunicationnovrain7111
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfManish Kumar
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfBalamuruganV28
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.elesangwon
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptJohnWilliam111370
 
KCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosKCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosVictor Morales
 
22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...
22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...
22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...KrishnaveniKrishnara1
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Communityprachaibot
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmDeepika Walanjkar
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxStephen Sitton
 
priority interrupt computer organization
priority interrupt computer organizationpriority interrupt computer organization
priority interrupt computer organizationchnrketan
 

Kürzlich hochgeladen (20)

Immutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfImmutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdf
 
ASME-B31.4-2019-estandar para diseño de ductos
ASME-B31.4-2019-estandar para diseño de ductosASME-B31.4-2019-estandar para diseño de ductos
ASME-B31.4-2019-estandar para diseño de ductos
 
Javier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptx
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overview
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based question
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 
The Satellite applications in telecommunication
The Satellite applications in telecommunicationThe Satellite applications in telecommunication
The Satellite applications in telecommunication
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdf
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
 
KCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosKCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitos
 
22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...
22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...
22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Community
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptx
 
priority interrupt computer organization
priority interrupt computer organizationpriority interrupt computer organization
priority interrupt computer organization
 
Versatile Engineering Construction Firms
Versatile Engineering Construction FirmsVersatile Engineering Construction Firms
Versatile Engineering Construction Firms
 

Introduction to c

  • 1.
  • 2.  C language is very easy and a powerful computer programming language bbecause it is very small and structured.  C language is a Middle level language i.e. suitable for systems programming.  It is a case sensitive language.  It is highly portable language.  C is a procedural or sequential language.  It is easy to learn and understand.  It is a small language
  • 3.  C language was invented by DENNIS RITCHIE at Bell Laboratories in between 1969 1nd 1973.  C language was standardized by ANSI in 1989 and known as ANSI C.
  • 4.
  • 5.  Portability- C is a machine independent and highly portable language.  Robustness- C has a set of built in functions and operators.  Easy to understand and learn as it has only 32 keywords.  Fast and Efficient  Flexible- It is not only for system but also for embedded system commercial data processing.  Integration with UNIX.  C has a large library of functions.
  • 6.  Complexity- Difficulty in solving complex problems.  Difficult to debug.  Difficult to modify.  Error-prone  Diffficult to write large programs.
  • 7.  Character set  Data Types  Constants  Keywords  Variables  Grammer(Syntax & semantics
  • 8.  Documentation Section (optional)  Link Section (optional)  Defining Section (optional)  Global Declaration Section (optional)  Main Function Section ( ) { Declaration part Executable part }  Subprogram Section (optional)  Function 1  Function 2  Function n
  • 9. /* This is a sample C program. */ #include <stdio.h> #include <conio.h> main ( ) { clrscr ( ); printf (“Hello n”); getch ( ); }
  • 10. C program is executed in 3 phases:  Create a source code file. [Empty file(input) – Source Code file(output)]  Compilation [Source code file(input) – object file(output)]  Linking [Object File(input) – Executable File (output)]