SlideShare a Scribd company logo
1. INTRODUCTION TO C LANGUAGE
2. ADVANTAGES OF C LANGUAGES
3. STRUCTURE OF C PROGRAM
4. WRITING AND COMPILING C
PROGRAM
Introduction to C
Language
Introduction to C Language
 The C programming language was designed by
Dennis Ritchie at Bell Laboratories in the early 1970s
 It was influenced by the following programming
languages:
 ALGOL 60 (1960),
 CPL (Cambridge, 1963),
 BCPL (Martin Richard, 1967),
 B (Ken Thompson, 1970)
Advantages Of C
 Modularity
 General Purpose Programming Language
 Middle Level Language
 Portability
 Speed Of Compilation
Disadvantages Of C
 Lack of OOP features
 No Namespace features
 No concept of constructor and destructor
Interpretation
 Interpretation and compilation are different ways of
translating high-level languages.
 Interpreter is program that executes program
statements
 Generally execute one line/command at a time
 Limited processing power
 Easy to debug, make changes, view intermediate
results
 Languages: BASIC, LISP, Perl, Matlab, C-shell
Compilation
 Translates statements into machine language
 Does not execute, but creates executable program
 Change requires recompilation
 Languages: C, C++, Fortran, Pascal
Structure Of C Program
Documentation:
o Name of the programmer
o Other detail about the program which the
programmer think can be useful later
Preprocessor Statements:
o Begins with # sign.
o Command to include header files or symbolic
constant before compiling the program
Global Declarations:
Declaration of function or the global variables.
Main Function:
Execution starts from here
Compiling C Program
 Preprocessing:
Read source code and evaluate preprocessor part.
 Compiling:
Convert source code to assembly code
 Assembling:
Create object code.
 Linking:
Link above object code files and other library files to
produce one complete executable file.
Compiling C Program
Sample C Program
Compiling C Program
Unsuccessful Compilation
List of Errors
Successful Compilation
Running the Program
Output

More Related Content

What's hot

Introduction to C Programming - I
Introduction to C Programming - I Introduction to C Programming - I
Introduction to C Programming - I
vampugani
 
Computer Programming
Computer Programming Computer Programming
Computer Programming
Newreborn Incarnation
 
C programming presentation for university
C programming presentation for universityC programming presentation for university
C programming presentation for university
Sheikh Monirul Hasan
 
Functions in C
Functions in CFunctions in C
Functions in C
Kamal Acharya
 
Constant, variables, data types
Constant, variables, data typesConstant, variables, data types
Constant, variables, data types
Pratik Devmurari
 
Features of c language 1
Features of c language 1Features of c language 1
Features of c language 1
srmohan06
 
Programming in c
Programming in cProgramming in c
Programming in c
indra Kishor
 
Introduction to problem solving in C
Introduction to problem solving in CIntroduction to problem solving in C
Introduction to problem solving in C
Diwakar Pratap Singh 'Deva'
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming Languages
Manish Kharotia
 
Introduction of c programming
Introduction of c programmingIntroduction of c programming
Introduction of c programming
Tarun Sharma
 
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
JavaTpoint.Com
 
Introduction to c language | History of C language
Introduction to c language | History of C languageIntroduction to c language | History of C language
Introduction to c language | History of C language
simplidigital
 
Functions in c
Functions in cFunctions in c
Functions in c
sunila tharagaturi
 
Programming paradigm
Programming paradigmProgramming paradigm
Programming paradigm
busyking03
 
best notes in c language
best notes in c languagebest notes in c language
best notes in c language
India
 
Constants in C Programming
Constants in C ProgrammingConstants in C Programming
Constants in C Programming
programming9
 
History of c++
History of c++ History of c++
History of c++
Ihsan Wassan
 
Introduction to c++ ppt 1
Introduction to c++ ppt 1Introduction to c++ ppt 1
Introduction to c++ ppt 1
Prof. Dr. K. Adisesha
 
Data types
Data typesData types
Data types
Nokesh Prabhakar
 

What's hot (20)

Introduction to C Programming - I
Introduction to C Programming - I Introduction to C Programming - I
Introduction to C Programming - I
 
Computer Programming
Computer Programming Computer Programming
Computer Programming
 
C programming presentation for university
C programming presentation for universityC programming presentation for university
C programming presentation for university
 
Functions in C
Functions in CFunctions in C
Functions in C
 
Constant, variables, data types
Constant, variables, data typesConstant, variables, data types
Constant, variables, data types
 
Features of c language 1
Features of c language 1Features of c language 1
Features of c language 1
 
C_Programming_Notes_ICE
C_Programming_Notes_ICEC_Programming_Notes_ICE
C_Programming_Notes_ICE
 
Programming in c
Programming in cProgramming in c
Programming in c
 
Introduction to problem solving in C
Introduction to problem solving in CIntroduction to problem solving in C
Introduction to problem solving in C
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming Languages
 
Introduction of c programming
Introduction of c programmingIntroduction of c programming
Introduction of 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
 
Introduction to c language | History of C language
Introduction to c language | History of C languageIntroduction to c language | History of C language
Introduction to c language | History of C language
 
Functions in c
Functions in cFunctions in c
Functions in c
 
Programming paradigm
Programming paradigmProgramming paradigm
Programming paradigm
 
best notes in c language
best notes in c languagebest notes in c language
best notes in c language
 
Constants in C Programming
Constants in C ProgrammingConstants in C Programming
Constants in C Programming
 
History of c++
History of c++ History of c++
History of c++
 
Introduction to c++ ppt 1
Introduction to c++ ppt 1Introduction to c++ ppt 1
Introduction to c++ ppt 1
 
Data types
Data typesData types
Data types
 

Viewers also liked

Etlo Charleston
Etlo CharlestonEtlo Charleston
Etlo Charlestonelizkeren
 
Introduction to C Language
Introduction to C LanguageIntroduction to C Language
Introduction to C Language
Tarun Sharma
 
Macul Cell Part1
Macul Cell Part1Macul Cell Part1
Macul Cell Part1elizkeren
 
Introduction of c language
Introduction of c languageIntroduction of c language
Introduction of c language
Akhilesh Maithani
 
Introduction to c programming language
Introduction to c programming languageIntroduction to c programming language
Introduction to c programming language
sanjay joshi
 
Inside the celll
Inside the celllInside the celll
Inside the celll
Sakil Ahmed
 
Ill effects of mobile
Ill effects of mobileIll effects of mobile
Ill effects of mobile
surbhi_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
 
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?
Empowered Presentations
 
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 phones
kalyanikatta
 
Effect of using mobile phone
Effect of using mobile phoneEffect of using mobile phone
Effect of using mobile phone
Piyali Goswami
 
INTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMINGINTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMING
Abhishek Dwivedi
 
Smartphones presentation
Smartphones presentationSmartphones presentation
Smartphones presentationfdla1
 
Smartphones powerpoint presentation
Smartphones powerpoint presentationSmartphones powerpoint presentation
Smartphones powerpoint presentation
nhla4
 
Ppt on World Of Smartphones
Ppt on World Of SmartphonesPpt on World Of Smartphones
Ppt on World Of Smartphones
Pulkit Syal
 
Advantages and Disadvantages of Mobile phone
Advantages and Disadvantages of Mobile phoneAdvantages and Disadvantages of Mobile phone
Advantages and Disadvantages of Mobile phone
Muhammad Ali
 

Viewers also liked (20)

Etlo Charleston
Etlo CharlestonEtlo Charleston
Etlo Charleston
 
Introduction to C Language
Introduction to C LanguageIntroduction to C Language
Introduction to C Language
 
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
 
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

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
Sinbad Konick
 
C Language
C LanguageC Language
C Language
TodayTutoring
 
C Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDYC Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDYRajeshkumar Reddy
 
What is C.docx
What is C.docxWhat is C.docx
What is C.docx
ChristopherHerring9
 
C Programming introduction
C Programming introductionC Programming introduction
C Programming introduction
Megha Sharma
 
Introduction to Computer
Introduction to ComputerIntroduction to Computer
Introduction to Computer
zaheeriqbal41
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
Sivant Kolhe
 
C language part 1
C language part  1C language part  1
C language part 1
JyothiG33
 
C language part 1
C language part  1C language part  1
C language part 1
PadmavathyK1
 
Introduction to c language
Introduction to c language Introduction to c language
Introduction to c language
BAKRANIYA KALPESH
 
Lecture 1- History of C Programming
Lecture 1- History of C Programming Lecture 1- History of C Programming
Lecture 1- History of C Programming
Md. Imran Hossain Showrov
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
Simplilearn
 
C-PROGRAMMING-LANGUAGE.pptx
C-PROGRAMMING-LANGUAGE.pptxC-PROGRAMMING-LANGUAGE.pptx
C-PROGRAMMING-LANGUAGE.pptx
DhirendraShahi2
 
Ch1 Introducing C
Ch1 Introducing CCh1 Introducing C
Ch1 Introducing C
SzeChingChen
 
English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacion
Villalba Griselda
 
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
Pulkitmodi1998
 
20210417-cppRelevancy-DataStructures.pptx
20210417-cppRelevancy-DataStructures.pptx20210417-cppRelevancy-DataStructures.pptx
20210417-cppRelevancy-DataStructures.pptx
Suman Garai
 
Tokens_C
Tokens_CTokens_C
Tokens_C
Prabhu Govind
 
10 lesson6
10 lesson610 lesson6
10 lesson6
Mary Grace Uminga
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programming
hamza239523
 

Similar to Introduction to C Language (20)

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
 
C Language
C LanguageC Language
C Language
 
C Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDYC Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDY
 
What is C.docx
What is C.docxWhat is C.docx
What is C.docx
 
C Programming introduction
C Programming introductionC Programming introduction
C Programming introduction
 
Introduction to Computer
Introduction to ComputerIntroduction to Computer
Introduction to Computer
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
C language part 1
C language part  1C language part  1
C language part 1
 
C language part 1
C language part  1C language part  1
C language part 1
 
Introduction to c language
Introduction to c language Introduction to c language
Introduction to c language
 
Lecture 1- History of C Programming
Lecture 1- History of C Programming Lecture 1- History of C Programming
Lecture 1- History of C Programming
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 
C-PROGRAMMING-LANGUAGE.pptx
C-PROGRAMMING-LANGUAGE.pptxC-PROGRAMMING-LANGUAGE.pptx
C-PROGRAMMING-LANGUAGE.pptx
 
Ch1 Introducing C
Ch1 Introducing CCh1 Introducing C
Ch1 Introducing C
 
English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacion
 
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
 
20210417-cppRelevancy-DataStructures.pptx
20210417-cppRelevancy-DataStructures.pptx20210417-cppRelevancy-DataStructures.pptx
20210417-cppRelevancy-DataStructures.pptx
 
Tokens_C
Tokens_CTokens_C
Tokens_C
 
10 lesson6
10 lesson610 lesson6
10 lesson6
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programming
 

More from Kamal Acharya

Programming the basic computer
Programming the basic computerProgramming the basic computer
Programming the basic computer
Kamal Acharya
 
Computer Arithmetic
Computer ArithmeticComputer Arithmetic
Computer Arithmetic
Kamal Acharya
 
Introduction to Computer Security
Introduction to Computer SecurityIntroduction to Computer Security
Introduction to Computer Security
Kamal Acharya
 
Session and Cookies
Session and CookiesSession and Cookies
Session and Cookies
Kamal Acharya
 
Functions in php
Functions in phpFunctions in php
Functions in php
Kamal Acharya
 
Web forms in php
Web forms in phpWeb forms in php
Web forms in php
Kamal Acharya
 
Making decision and repeating in PHP
Making decision and repeating  in PHPMaking decision and repeating  in PHP
Making decision and repeating in PHP
Kamal Acharya
 
Working with arrays in php
Working with arrays in phpWorking with arrays in php
Working with arrays in php
Kamal Acharya
 
Text and Numbers (Data Types)in PHP
Text and Numbers (Data Types)in PHPText and Numbers (Data Types)in PHP
Text and Numbers (Data Types)in PHP
Kamal Acharya
 
Introduction to PHP
Introduction to PHPIntroduction to PHP
Introduction to PHP
Kamal Acharya
 
Capacity Planning of Data Warehousing
Capacity Planning of Data WarehousingCapacity Planning of Data Warehousing
Capacity Planning of Data Warehousing
Kamal Acharya
 
Data Warehousing
Data WarehousingData Warehousing
Data Warehousing
Kamal Acharya
 
Search Engines
Search EnginesSearch Engines
Search Engines
Kamal Acharya
 
Web Mining
Web MiningWeb Mining
Web Mining
Kamal Acharya
 
Information Privacy and Data Mining
Information Privacy and Data MiningInformation Privacy and Data Mining
Information Privacy and Data Mining
Kamal Acharya
 
Cluster Analysis
Cluster AnalysisCluster Analysis
Cluster Analysis
Kamal Acharya
 
Association Analysis in Data Mining
Association Analysis in Data MiningAssociation Analysis in Data Mining
Association Analysis in Data Mining
Kamal Acharya
 
Classification techniques in data mining
Classification techniques in data miningClassification techniques in data mining
Classification techniques in data mining
Kamal Acharya
 
Data Preprocessing
Data PreprocessingData Preprocessing
Data Preprocessing
Kamal Acharya
 
Introduction to Data Mining and Data Warehousing
Introduction to Data Mining and Data WarehousingIntroduction to Data Mining and Data Warehousing
Introduction to Data Mining and Data Warehousing
Kamal Acharya
 

More from Kamal Acharya (20)

Programming the basic computer
Programming the basic computerProgramming the basic computer
Programming the basic computer
 
Computer Arithmetic
Computer ArithmeticComputer Arithmetic
Computer Arithmetic
 
Introduction to Computer Security
Introduction to Computer SecurityIntroduction to Computer Security
Introduction to Computer Security
 
Session and Cookies
Session and CookiesSession and Cookies
Session and Cookies
 
Functions in php
Functions in phpFunctions in php
Functions in php
 
Web forms in php
Web forms in phpWeb forms in php
Web forms in php
 
Making decision and repeating in PHP
Making decision and repeating  in PHPMaking decision and repeating  in PHP
Making decision and repeating in PHP
 
Working with arrays in php
Working with arrays in phpWorking with arrays in php
Working with arrays in php
 
Text and Numbers (Data Types)in PHP
Text and Numbers (Data Types)in PHPText and Numbers (Data Types)in PHP
Text and Numbers (Data Types)in PHP
 
Introduction to PHP
Introduction to PHPIntroduction to PHP
Introduction to PHP
 
Capacity Planning of Data Warehousing
Capacity Planning of Data WarehousingCapacity Planning of Data Warehousing
Capacity Planning of Data Warehousing
 
Data Warehousing
Data WarehousingData Warehousing
Data Warehousing
 
Search Engines
Search EnginesSearch Engines
Search Engines
 
Web Mining
Web MiningWeb Mining
Web Mining
 
Information Privacy and Data Mining
Information Privacy and Data MiningInformation Privacy and Data Mining
Information Privacy and Data Mining
 
Cluster Analysis
Cluster AnalysisCluster Analysis
Cluster Analysis
 
Association Analysis in Data Mining
Association Analysis in Data MiningAssociation Analysis in Data Mining
Association Analysis in Data Mining
 
Classification techniques in data mining
Classification techniques in data miningClassification techniques in data mining
Classification techniques in data mining
 
Data Preprocessing
Data PreprocessingData Preprocessing
Data Preprocessing
 
Introduction to Data Mining and Data Warehousing
Introduction to Data Mining and Data WarehousingIntroduction to Data Mining and Data Warehousing
Introduction to Data Mining and Data Warehousing
 

Recently uploaded

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 

Recently uploaded (20)

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 

Introduction to C Language

  • 1. 1. INTRODUCTION TO C LANGUAGE 2. ADVANTAGES OF C LANGUAGES 3. STRUCTURE OF C PROGRAM 4. WRITING AND COMPILING C PROGRAM Introduction to C Language
  • 2. Introduction to C Language  The C programming language was designed by Dennis Ritchie at Bell Laboratories in the early 1970s  It was influenced by the following programming languages:  ALGOL 60 (1960),  CPL (Cambridge, 1963),  BCPL (Martin Richard, 1967),  B (Ken Thompson, 1970)
  • 3. Advantages Of C  Modularity  General Purpose Programming Language  Middle Level Language  Portability  Speed Of Compilation
  • 4. Disadvantages Of C  Lack of OOP features  No Namespace features  No concept of constructor and destructor
  • 5. Interpretation  Interpretation and compilation are different ways of translating high-level languages.  Interpreter is program that executes program statements  Generally execute one line/command at a time  Limited processing power  Easy to debug, make changes, view intermediate results  Languages: BASIC, LISP, Perl, Matlab, C-shell
  • 6. Compilation  Translates statements into machine language  Does not execute, but creates executable program  Change requires recompilation  Languages: C, C++, Fortran, Pascal
  • 7. Structure Of C Program
  • 8. Documentation: o Name of the programmer o Other detail about the program which the programmer think can be useful later Preprocessor Statements: o Begins with # sign. o Command to include header files or symbolic constant before compiling the program
  • 9. Global Declarations: Declaration of function or the global variables. Main Function: Execution starts from here
  • 10. Compiling C Program  Preprocessing: Read source code and evaluate preprocessor part.  Compiling: Convert source code to assembly code  Assembling: Create object code.  Linking: Link above object code files and other library files to produce one complete executable file.