SlideShare ist ein Scribd-Unternehmen logo
1 von 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??

Weitere ähnliche Inhalte

Ähnlich wie C-PROGRAMMING-LANGUAGE.pptx

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
ragulasai
 

Ähnlich wie 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
 

Kürzlich hochgeladen

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Kürzlich hochgeladen (20)

Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 

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