SlideShare una empresa de Scribd logo
1 de 12
INDEX
•What is C Programming Langauge?
•History of C language
•C Basic Commands
•Where is C used? Key Applications
•Why learn C Language?
•How C Programming Language
Works?
INTRODUCTION
C is a general-purpose programming language that is extremely
popular, simple, and flexible to use. It is a structured programming
language that is machine-independent and extensively used to
various applications, Operating Systems like Windows, and many
other complex programs like Oracle database, Git, Python
interpreter, and more.
Best 10 top programming language:
What is C Programming
Language?
The base or father of programming languages is ‘ALGOL.’ It was first introduced in 1960.
‘ALGOL’ was used on a large basis in European countries. ‘ALGOL’ introduced the concept of
structured programming to the developer community. In 1967, a new computer programming
language was announced called as ‘BCPL’ which stands for Basic Combined Programming
Language.
In 1972, a great computer scientist Dennis Ritchie created a new programming language
called ‘C’ at the Bell Laboratories. It was created from ‘ALGOL’, ‘BCPL’ and ‘B’ programming
languages. ‘C’ programming language contains all the features of these languages and many
more additional concepts that make it unique from other languages. ‘C’ is a powerful
programming language which is strongly associated with the UNIX operating system To
assure that ‘C’ language will remain standard, American National Standards Institute (ANSI)
defined a commercial standard for ‘C’ language in 1989. Later, it was approved by the
International Standards Organization (ISO) in 1990. ‘C’ programming language is also called
as ‘ANSI C’. Languages such as C++/Java are developed from ‘C’. These languages are
widely used in various technologies. Thus, ‘C’ forms a base for many other languages that
are currently in use.
History of C language
C BASIC COMMANDS
Following are the basic commands in C programming language:
C Basic commands Explanation
#include <stdio.h>
This command includes standard input
output header file(stdio.h) from the C library
before compiling a C program
int main()
It is the main function from where C program
execution begins.
{ Indicates the beginning of the main function.
/*_some_comments_*/
Whatever written inside this command “/* */”
inside a C program, it will not be considered
for compilation and execution.
printf(“Hello_World! “);
This command prints the output on the
screen.
getch();
This command is used for any character
input from keyboard.
return 0;
This command is used to terminate a C
program (main function) and it returns 0.
}
It is used to indicate the end of the main
function.
Where is C used? Key Applications
•. It is a simple language and provides faster execution.
• There are many jobs available for a ‘C’ developer in the
current market.
•.This structure makes it easy for testing, maintaining and
debugging processes.
•‘C’ contains 32 keywords, various data types and a set of
powerful built-in functions that make programming very
efficient.
•We can access and use these functions anytime we want in
our program. This feature makes it simple while working with
complex programming.
•Various compilers are available in the market that can be
used for executing programs written in this language.
•It is a highly portable language which means programs
written in ‘C’ language can run on other machines.
Why learn C Language?
C is a compiled language. A compiler is a special tool that compiles the program and
converts it into the object file which is machine readable. After the compilation process,
the linker will combine different object files and creates a single executable file to run the
program. The following diagram shows the execution of a ‘C’ program
Nowadays, various compilers are available online, and you can use any of those compilers.
The functionality will never differ and most of the compilers will provide the features required to
execute both ‘C’ and ‘C++’ programs.
Following is the list of popular compilers available online:
-Clang compiler
-MinGW compiler (Minimalist GNU for Windows)
-Portable ‘C’ compiler
-Turbo C
How C Programming Language Works?
1.‘C’ was developed by Dennis Ritchie in 1972.
2.It is a robust language.
3.It is a low programming level language close to machine language
4.It is widely used in the software development field.
5.It is a procedure and structure oriented language.
6.It has the full support of various operating systems and hardware
platforms.
7.Many compilers are available for executing programs written in ‘C’.
8.A compiler compiles the source file and generates an object file.
9.A linker links all the object files together and creates one executable file.
10.It is highly portable.
summary
Source:guru99.com
ANY
QUESTION??

Más contenido relacionado

Similar a C-PROGRAMMING-LANGUAGE.pptx

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
 
C Programming language - introduction
C Programming  language - introduction  C Programming  language - introduction
C Programming language - introduction GopikaS12
 
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
 
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
 
Understanding C and its Applications.pdf
Understanding C and its Applications.pdfUnderstanding C and its Applications.pdf
Understanding C and its Applications.pdfAdeleHansley
 
Learn c programming language in 24 hours allfreebooks.tk
Learn c programming language in 24 hours   allfreebooks.tkLearn c programming language in 24 hours   allfreebooks.tk
Learn c programming language in 24 hours allfreebooks.tkragulasai
 
COM1407: Introduction to C Programming
COM1407: Introduction to C Programming COM1407: Introduction to C Programming
COM1407: Introduction to C Programming Hemantha Kulathilake
 
Introduction to c programming language
Introduction to c programming languageIntroduction to c programming language
Introduction to c programming languagesanjay joshi
 

Similar a C-PROGRAMMING-LANGUAGE.pptx (20)

Programming in c
Programming in cProgramming in c
Programming in c
 
Programming in c
Programming in cProgramming in c
Programming in c
 
Programming in C
Programming in CProgramming in C
Programming in C
 
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
 
C Programming language - introduction
C Programming  language - introduction  C Programming  language - introduction
C Programming language - introduction
 
C
CC
C
 
C lecture notes new
C lecture notes newC lecture notes new
C lecture notes new
 
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
 
Learn C Language
Learn C LanguageLearn C Language
Learn C Language
 
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)
 
What is C.docx
What is C.docxWhat is C.docx
What is C.docx
 
Understanding C and its Applications.pdf
Understanding C and its Applications.pdfUnderstanding C and its Applications.pdf
Understanding C and its Applications.pdf
 
Learn c programming language in 24 hours allfreebooks.tk
Learn c programming language in 24 hours   allfreebooks.tkLearn c programming language in 24 hours   allfreebooks.tk
Learn c programming language in 24 hours allfreebooks.tk
 
COM1407: Introduction to C Programming
COM1407: Introduction to C Programming COM1407: Introduction to C Programming
COM1407: Introduction to C Programming
 
C Language
C LanguageC Language
C Language
 
C.pdf
C.pdfC.pdf
C.pdf
 
CS3251-_PIC
CS3251-_PICCS3251-_PIC
CS3251-_PIC
 
Introduction to c programming language
Introduction to c programming languageIntroduction to c programming language
Introduction to c programming language
 
Presentation1
Presentation1Presentation1
Presentation1
 

Último

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
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
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
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
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 

Último (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.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
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
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
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).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 ...
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 

C-PROGRAMMING-LANGUAGE.pptx

  • 1.
  • 2.
  • 3. INDEX •What is C Programming Langauge? •History of C language •C Basic Commands •Where is C used? Key Applications •Why learn C Language? •How C Programming Language Works?
  • 4. INTRODUCTION C is a general-purpose programming language that is extremely popular, simple, and flexible to use. It is a structured programming language that is machine-independent and extensively used to various applications, Operating Systems like Windows, and many other complex programs like Oracle database, Git, Python interpreter, and more. Best 10 top programming language: What is C Programming Language?
  • 5. The base or father of programming languages is ‘ALGOL.’ It was first introduced in 1960. ‘ALGOL’ was used on a large basis in European countries. ‘ALGOL’ introduced the concept of structured programming to the developer community. In 1967, a new computer programming language was announced called as ‘BCPL’ which stands for Basic Combined Programming Language. In 1972, a great computer scientist Dennis Ritchie created a new programming language called ‘C’ at the Bell Laboratories. It was created from ‘ALGOL’, ‘BCPL’ and ‘B’ programming languages. ‘C’ programming language contains all the features of these languages and many more additional concepts that make it unique from other languages. ‘C’ is a powerful programming language which is strongly associated with the UNIX operating system To assure that ‘C’ language will remain standard, American National Standards Institute (ANSI) defined a commercial standard for ‘C’ language in 1989. Later, it was approved by the International Standards Organization (ISO) in 1990. ‘C’ programming language is also called as ‘ANSI C’. Languages such as C++/Java are developed from ‘C’. These languages are widely used in various technologies. Thus, ‘C’ forms a base for many other languages that are currently in use. History of C language
  • 6. C BASIC COMMANDS Following are the basic commands in C programming language: C Basic commands Explanation #include <stdio.h> This command includes standard input output header file(stdio.h) from the C library before compiling a C program int main() It is the main function from where C program execution begins. { Indicates the beginning of the main function. /*_some_comments_*/ Whatever written inside this command “/* */” inside a C program, it will not be considered for compilation and execution. printf(“Hello_World! “); This command prints the output on the screen. getch(); This command is used for any character input from keyboard. return 0; This command is used to terminate a C program (main function) and it returns 0. } It is used to indicate the end of the main function.
  • 7. Where is C used? Key Applications
  • 8. •. It is a simple language and provides faster execution. • There are many jobs available for a ‘C’ developer in the current market. •.This structure makes it easy for testing, maintaining and debugging processes. •‘C’ contains 32 keywords, various data types and a set of powerful built-in functions that make programming very efficient. •We can access and use these functions anytime we want in our program. This feature makes it simple while working with complex programming. •Various compilers are available in the market that can be used for executing programs written in this language. •It is a highly portable language which means programs written in ‘C’ language can run on other machines. Why learn C Language?
  • 9. C is a compiled language. A compiler is a special tool that compiles the program and converts it into the object file which is machine readable. After the compilation process, the linker will combine different object files and creates a single executable file to run the program. The following diagram shows the execution of a ‘C’ program Nowadays, various compilers are available online, and you can use any of those compilers. The functionality will never differ and most of the compilers will provide the features required to execute both ‘C’ and ‘C++’ programs. Following is the list of popular compilers available online: -Clang compiler -MinGW compiler (Minimalist GNU for Windows) -Portable ‘C’ compiler -Turbo C How C Programming Language Works?
  • 10. 1.‘C’ was developed by Dennis Ritchie in 1972. 2.It is a robust language. 3.It is a low programming level language close to machine language 4.It is widely used in the software development field. 5.It is a procedure and structure oriented language. 6.It has the full support of various operating systems and hardware platforms. 7.Many compilers are available for executing programs written in ‘C’. 8.A compiler compiles the source file and generates an object file. 9.A linker links all the object files together and creates one executable file. 10.It is highly portable. summary