SlideShare una empresa de Scribd logo
1 de 13
Prepared By:
Hemdeep Bhavsar
Mechatronics Engineer
 BASIC, FORTON, COBOL, PASCAL – High level
languages. These are application specific i.e. they are
used to develop application related to particular field.
 Assembly language and machine language – low level
languages. These are machine level languages and
designed to give machine efficiency.
 C is middle level language. It provides facilities of the
both high level language and low level language. It is not
application specific. It can be used to develop many
different types of the applications. Thus C is a general. It
is not hardware or system dependent. Hence portable
programs can be written with C compiler and operating
system can be written using C.
 General purpose structured language : the
instructions consists of a algebraic expression
supported with English keyword such as if, else, for,
goto, continue, break etc.
 Programming language : It is simple to implement and
highly effective.
 Compatible language : It can run on all machines right
from 8088 to recent machines.
 Concise language : Only a small set of instructions are
required to get a task done.
 Rich set of built in functions.
 Provides variety of the data types, operators and
functions which makes it’s code highly efficient and fast.
 Supports the pointers which can directly access the
address of the variable in the computer’s memory.
 Has only 32 keywords.
 Modular programming : It is a logical collection of a
one or more functions of modules.
 Provide dynamic memory allocation.
 Extensible : continuously adds the library functions
supported by the C library.
 Middle level language : it provides high level
programming supports as well as low level programming
supports .
 C does not supports inheritance, makes it more
complex to use because everything has to be written
from scratch.
 The switch statement doesn’t allow float data type.
 The switch statement doesn’t allow logical operators.
 Pointers are difficult to handle in ‘C’.
 Provide only one major memory allocation function:
malloc
 C statements having a specific and complicated
syntax that programmer needs to learn.
 Compilers, libraries, and interpreters of other high
level languages are often implemented in C.
 Right from creating other software’s like “Unix”,
“Windows”, and many Antivirus etc. C is also
used in developing many applications.
 C is also used to write programs like “ Embedded
Device”, Chip designing, Industrial Automobile
production etc.
 It is a combination of the high level language and
low level language.
Documentation section
/* tells the purpose of the program */
// program to add two numbers.
Link section
#include<stdio.h>
Definition section
#define PI 3.14
Global variable declaration
main() function section
{
variable declaration/initialization;
program statements;
}
Subprogram section
Function 1()
{
statements;
}
 Documentation section consists of a statements.
They are used in a program to improve the
readability and understanding.
 Comments are not executed in the programming.
 Comments help to understand the program by
user.
 Comments help to understand logic of the
program.
 Single line comment denoted by //.
 Multiple line comments denoted by /*……*/.
 It is consists of a preprocessor directives which
link the compiler to the standard library functions.
 We include the different library functions in the C.
 They are availabele in the header files.
 #include<stdio.h> is a header file consists of a
standard IO functions.
 #include< math.h> consists of a mathematical
functions.
 Defines all symbolic constants.
 It is declares global variable.
 They are used in more than one functions.
 They are delcared outside the all functions.
 Is a special and important function used ny C
program to tell compiler where the program starts.
 Every program has exactly one main() function.
 If it consists of more than one compiler can’t tell
from where program has to be start.
 The opening’{‘ and closing ‘}’ braces are indicates
begin and end of the main() function.
 All C statements always terminate with the a
semicolon(;).
Intoduction to c language

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

presentation on the topic: Introduction to the C language
presentation on the topic: Introduction to the C languagepresentation on the topic: Introduction to the C language
presentation on the topic: Introduction to the C language
 
Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.
 
C lecture notes new
C lecture notes newC lecture notes new
C lecture notes new
 
Language Translator ( Compiler)
Language Translator ( Compiler)Language Translator ( Compiler)
Language Translator ( Compiler)
 
LANGUAGE TRANSLATOR
LANGUAGE TRANSLATORLANGUAGE TRANSLATOR
LANGUAGE TRANSLATOR
 
Language translator
Language translatorLanguage translator
Language translator
 
Algorithm and flowchart(1)
Algorithm and flowchart(1)Algorithm and flowchart(1)
Algorithm and flowchart(1)
 
Ppt 1
Ppt 1Ppt 1
Ppt 1
 
Computer Language Translator
Computer Language TranslatorComputer Language Translator
Computer Language Translator
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Language processor
Language processorLanguage processor
Language processor
 
Presentation on C programming language
Presentation on C programming languagePresentation on C programming language
Presentation on C programming language
 
Translators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreterTranslators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreter
 
Assembler
AssemblerAssembler
Assembler
 
Planning to computer program(southeast university)
Planning to computer program(southeast university)Planning to computer program(southeast university)
Planning to computer program(southeast university)
 
Computer programming all chapters
Computer programming all chaptersComputer programming all chapters
Computer programming all chapters
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Types of system software
Types of system softwareTypes of system software
Types of system software
 
Notacd07
Notacd07Notacd07
Notacd07
 
Chapter 5( programming) answer
Chapter 5( programming) answerChapter 5( programming) answer
Chapter 5( programming) answer
 

Similar a Intoduction to c language

Introduction to C Programming Language.pptx
Introduction to C Programming Language.pptxIntroduction to C Programming Language.pptx
Introduction to C Programming Language.pptxAnithaTAssistantProf
 
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfINTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfSubramanyambharathis
 
Fundamental of Information Technology - UNIT 7
Fundamental of Information Technology - UNIT 7Fundamental of Information Technology - UNIT 7
Fundamental of Information Technology - UNIT 7Shipra Swati
 
Introduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic conceptsIntroduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic conceptsssuserf86fba
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programmingMukesh Tekwani
 
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTT
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTTC programming notes BATRACOMPUTER CENTRE IN Ambala CANTT
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTTBatra Centre
 
unit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshu
unit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshuunit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshu
unit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshuGauravRawat830030
 
Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)Nuzhat Memon
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languagesraksharao
 

Similar a Intoduction to c language (20)

Programming in c
Programming in cProgramming in c
Programming in c
 
Introduction to C Programming Language.pptx
Introduction to C Programming Language.pptxIntroduction to C Programming Language.pptx
Introduction to C Programming Language.pptx
 
CS3251-_PIC
CS3251-_PICCS3251-_PIC
CS3251-_PIC
 
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfINTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
 
Fundamental of Information Technology - UNIT 7
Fundamental of Information Technology - UNIT 7Fundamental of Information Technology - UNIT 7
Fundamental of Information Technology - UNIT 7
 
Introduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic conceptsIntroduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic concepts
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programming
 
Programming in C
Programming in CProgramming in C
Programming in C
 
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTT
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTTC programming notes BATRACOMPUTER CENTRE IN Ambala CANTT
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTT
 
C.pdf
C.pdfC.pdf
C.pdf
 
unit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshu
unit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshuunit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshu
unit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshu
 
Unit 1
Unit 1Unit 1
Unit 1
 
Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)
 
Introduction to c language
Introduction to c language Introduction to c language
Introduction to c language
 
COMPILER DESIGN.docx
COMPILER DESIGN.docxCOMPILER DESIGN.docx
COMPILER DESIGN.docx
 
C programming
C programmingC programming
C programming
 
C programming
C programming C programming
C programming
 
Software Concepts Notes
Software Concepts NotesSoftware Concepts Notes
Software Concepts Notes
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languages
 
C programme presentation
C programme presentationC programme presentation
C programme presentation
 

Más de Student

PROJECTION OF POINTS
PROJECTION OF POINTSPROJECTION OF POINTS
PROJECTION OF POINTSStudent
 
Engineering Planes
Engineering PlanesEngineering Planes
Engineering PlanesStudent
 
Orthographic projection
Orthographic projectionOrthographic projection
Orthographic projectionStudent
 
Engineering line
Engineering lineEngineering line
Engineering lineStudent
 
Engineering graphics
Engineering graphicsEngineering graphics
Engineering graphicsStudent
 
Engineering Curves
Engineering CurvesEngineering Curves
Engineering CurvesStudent
 
flowchart & algorithms
flowchart & algorithmsflowchart & algorithms
flowchart & algorithmsStudent
 
Contributor personality development unit 2
Contributor personality  development unit 2Contributor personality  development unit 2
Contributor personality development unit 2Student
 
Gaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationGaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationStudent
 
Eme (air compressors)
Eme (air compressors)Eme (air compressors)
Eme (air compressors)Student
 
Flowcharts and algorithms
Flowcharts and algorithmsFlowcharts and algorithms
Flowcharts and algorithmsStudent
 
Noise pollution
Noise pollutionNoise pollution
Noise pollutionStudent
 
Land pollution
Land pollutionLand pollution
Land pollutionStudent
 
13 mc558 eg
13 mc558 eg13 mc558 eg
13 mc558 egStudent
 
Women social activities
Women social activitiesWomen social activities
Women social activitiesStudent
 

Más de Student (16)

Solids
SolidsSolids
Solids
 
PROJECTION OF POINTS
PROJECTION OF POINTSPROJECTION OF POINTS
PROJECTION OF POINTS
 
Engineering Planes
Engineering PlanesEngineering Planes
Engineering Planes
 
Orthographic projection
Orthographic projectionOrthographic projection
Orthographic projection
 
Engineering line
Engineering lineEngineering line
Engineering line
 
Engineering graphics
Engineering graphicsEngineering graphics
Engineering graphics
 
Engineering Curves
Engineering CurvesEngineering Curves
Engineering Curves
 
flowchart & algorithms
flowchart & algorithmsflowchart & algorithms
flowchart & algorithms
 
Contributor personality development unit 2
Contributor personality  development unit 2Contributor personality  development unit 2
Contributor personality development unit 2
 
Gaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationGaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equation
 
Eme (air compressors)
Eme (air compressors)Eme (air compressors)
Eme (air compressors)
 
Flowcharts and algorithms
Flowcharts and algorithmsFlowcharts and algorithms
Flowcharts and algorithms
 
Noise pollution
Noise pollutionNoise pollution
Noise pollution
 
Land pollution
Land pollutionLand pollution
Land pollution
 
13 mc558 eg
13 mc558 eg13 mc558 eg
13 mc558 eg
 
Women social activities
Women social activitiesWomen social activities
Women social activities
 

Último

What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxPurva Nikam
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitterShivangiSharma879191
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 

Último (20)

Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptx
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 

Intoduction to c language

  • 2.  BASIC, FORTON, COBOL, PASCAL – High level languages. These are application specific i.e. they are used to develop application related to particular field.  Assembly language and machine language – low level languages. These are machine level languages and designed to give machine efficiency.  C is middle level language. It provides facilities of the both high level language and low level language. It is not application specific. It can be used to develop many different types of the applications. Thus C is a general. It is not hardware or system dependent. Hence portable programs can be written with C compiler and operating system can be written using C.
  • 3.  General purpose structured language : the instructions consists of a algebraic expression supported with English keyword such as if, else, for, goto, continue, break etc.  Programming language : It is simple to implement and highly effective.  Compatible language : It can run on all machines right from 8088 to recent machines.  Concise language : Only a small set of instructions are required to get a task done.  Rich set of built in functions.  Provides variety of the data types, operators and functions which makes it’s code highly efficient and fast.
  • 4.  Supports the pointers which can directly access the address of the variable in the computer’s memory.  Has only 32 keywords.  Modular programming : It is a logical collection of a one or more functions of modules.  Provide dynamic memory allocation.  Extensible : continuously adds the library functions supported by the C library.  Middle level language : it provides high level programming supports as well as low level programming supports .
  • 5.  C does not supports inheritance, makes it more complex to use because everything has to be written from scratch.  The switch statement doesn’t allow float data type.  The switch statement doesn’t allow logical operators.  Pointers are difficult to handle in ‘C’.  Provide only one major memory allocation function: malloc  C statements having a specific and complicated syntax that programmer needs to learn.
  • 6.  Compilers, libraries, and interpreters of other high level languages are often implemented in C.  Right from creating other software’s like “Unix”, “Windows”, and many Antivirus etc. C is also used in developing many applications.  C is also used to write programs like “ Embedded Device”, Chip designing, Industrial Automobile production etc.  It is a combination of the high level language and low level language.
  • 7. Documentation section /* tells the purpose of the program */ // program to add two numbers. Link section #include<stdio.h> Definition section #define PI 3.14 Global variable declaration main() function section { variable declaration/initialization; program statements; } Subprogram section Function 1() { statements; }
  • 8.  Documentation section consists of a statements. They are used in a program to improve the readability and understanding.  Comments are not executed in the programming.  Comments help to understand the program by user.  Comments help to understand logic of the program.  Single line comment denoted by //.  Multiple line comments denoted by /*……*/.
  • 9.  It is consists of a preprocessor directives which link the compiler to the standard library functions.  We include the different library functions in the C.  They are availabele in the header files.  #include<stdio.h> is a header file consists of a standard IO functions.  #include< math.h> consists of a mathematical functions.
  • 10.  Defines all symbolic constants.
  • 11.  It is declares global variable.  They are used in more than one functions.  They are delcared outside the all functions.
  • 12.  Is a special and important function used ny C program to tell compiler where the program starts.  Every program has exactly one main() function.  If it consists of more than one compiler can’t tell from where program has to be start.  The opening’{‘ and closing ‘}’ braces are indicates begin and end of the main() function.  All C statements always terminate with the a semicolon(;).