SlideShare una empresa de Scribd logo
1 de 23
An Introduction to C
Programming Language
Intro
 C is the famous programming language
designed to develop system application
program.
Intro
 It is known as the starting of every
programming language all the basics
of a program language starts from C
language.
 C is known as general purpose
procedural programming language.
History
 Developed by M. Dennis Ritchie at
the Bell laboratories in the year of
1972.
 C is known as high level language
because it has the power of a lower
level language and easy syntax like
high level language.
Why C used as a professional
programming language?
 Easy to learn
 It’s a structured programming language
Why C used as a professional
programming language?
 Can handle low level programs
 Compiled code can be used in different
computers
Features of C
 C is a robust language
 C is a highly portable language means
once compiled; the code can be run in any
computer.
What is Compiler?
 Compiler is a computer program that
transforms the human written language
into machine level language.
What is Compiler?
 In general words computer takes the code
written by you and converts it into binary
code.
Structure & Syntax of a C
Program
 #include<stdio.h>
#include<conio.h>
void Main()
clrscr();
{
Printf(“my first C program”);
}
Description of Code:-
 #- Prerocessor of program
 Include-Include is a keyword
Description of Code:-
 Stdio.h-Standard input/output header file
 Conio.h-Console input/output header file
Description of Code:-
 Void-is a keyword that collects the
garbage value
 Main()- main() identifies starting of the
program execution
Description of Code:-
 Clrscr()- To clear the console screen
 {, }-Group all statements together
 Printf()-It is a function to print the output
on screen.
C Data types
 Data type of C language mostly divided
into 5 major types
 int, char, float, double, void
C Data types
int char float
void double
C Data types
 Int –Used to identify an integer value
 Char- Used to identify a character
 Float- Used to identify floating point type
 Double- Used to identify floating point type
 Void- denotes to type with garbage value
Variable:-
 Variable is a stored data memory allocated
to use it in future and we can change the
value too.
Variable:-
 Syntax- type variable name;
 Ex- int a, b, c;
Explanation of Example
 Int-Data type
 A, b, c variables
Explanation of Example
 Int-Data type
 A, b, c variables
 ;-Identifies the end of statement.
End of Slide
 This is a simple introduction to C basic that
will be elaborated in further classes. If you
want to be one of the programming
professional then please visit our website for
further details about C demo classes and
new session.
Introduction to c programming language

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

C functions
C functionsC functions
C functions
 
Data Type in C Programming
Data Type in C ProgrammingData Type in C Programming
Data Type in C Programming
 
Programming in c
Programming in cProgramming in c
Programming in c
 
Basic Structure of C Language and Related Term
Basic Structure of C Language  and Related TermBasic Structure of C Language  and Related Term
Basic Structure of C Language and Related Term
 
C program
C programC program
C program
 
C_Programming_Notes_ICE
C_Programming_Notes_ICEC_Programming_Notes_ICE
C_Programming_Notes_ICE
 
Function C programming
Function C programmingFunction C programming
Function C programming
 
C++ language basic
C++ language basicC++ language basic
C++ language basic
 
C# Basics
C# BasicsC# Basics
C# Basics
 
What are variables and keywords in c++
What are variables and keywords in c++What are variables and keywords in c++
What are variables and keywords in c++
 
C tokens
C tokensC tokens
C tokens
 
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
 
CPU INPUT OUTPUT
CPU INPUT OUTPUT CPU INPUT OUTPUT
CPU INPUT OUTPUT
 
INTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMINGINTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMING
 
Basics of c++ Programming Language
Basics of c++ Programming LanguageBasics of c++ Programming Language
Basics of c++ Programming Language
 
Introduction to c++
Introduction to c++Introduction to c++
Introduction to c++
 
C PROGRAMMING
C PROGRAMMINGC PROGRAMMING
C PROGRAMMING
 
String in c programming
String in c programmingString in c programming
String in c programming
 
C presentation book
C presentation bookC presentation book
C presentation book
 
Fundamental of C Programming Language and Basic Input/Output Function
  Fundamental of C Programming Language and Basic Input/Output Function  Fundamental of C Programming Language and Basic Input/Output Function
Fundamental of C Programming Language and Basic Input/Output Function
 

Destacado

Etlo Charleston
Etlo CharlestonEtlo Charleston
Etlo Charleston
elizkeren
 
Macul Cell Part1
Macul Cell Part1Macul Cell Part1
Macul Cell Part1
elizkeren
 
Introduction to C Language
Introduction to C LanguageIntroduction to C Language
Introduction to C Language
Kamal Acharya
 
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
kkoe3
 
Overview of c language
Overview of c languageOverview of c language
Overview of c language
shalini392
 
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
cebilewaikiki
 

Destacado (20)

C ppt
C pptC ppt
C ppt
 
Introduction to C programming
Introduction to C programmingIntroduction to C programming
Introduction to C programming
 
Etlo Charleston
Etlo CharlestonEtlo Charleston
Etlo Charleston
 
Macul Cell Part1
Macul Cell Part1Macul Cell Part1
Macul Cell Part1
 
Introduction to C Language
Introduction to C LanguageIntroduction to C Language
Introduction to C Language
 
Introduction to C Language
Introduction to C LanguageIntroduction to C Language
Introduction to C Language
 
Introduction of c language
Introduction of c languageIntroduction of c language
Introduction of c language
 
Inside the celll
Inside the celllInside the celll
Inside the celll
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
Introduction to programming with c,
Introduction to programming with c,Introduction to programming with c,
Introduction to programming with c,
 
Introduction of c programming
Introduction of c programmingIntroduction of c programming
Introduction of c programming
 
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
 
Semi Detailed Lesson Plan in Programming Languages
Semi Detailed Lesson Plan in Programming LanguagesSemi Detailed Lesson Plan in Programming Languages
Semi Detailed Lesson Plan in Programming Languages
 
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
 
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
 

Similar a Introduction to c programming 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
Rajeshkumar Reddy
 
C LANGUAGE UNIT-1 PREPARED BY MVB REDDY
C LANGUAGE UNIT-1 PREPARED BY MVB REDDYC LANGUAGE UNIT-1 PREPARED BY MVB REDDY
C LANGUAGE UNIT-1 PREPARED BY MVB REDDY
Rajeshkumar Reddy
 

Similar a Introduction to c programming language (20)

introduction to c programming language
introduction to c programming languageintroduction to c programming language
introduction to c programming language
 
Introduction to C Unit 1
Introduction to C Unit 1Introduction to C Unit 1
Introduction to C Unit 1
 
What is turbo c and how it works
What is turbo c and how it worksWhat is turbo c and how it works
What is turbo c and how it works
 
Introduction to c language
Introduction to c language Introduction to c language
Introduction to 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
 
Chapter 1 Introduction to C .pptx
Chapter 1 Introduction to C .pptxChapter 1 Introduction to C .pptx
Chapter 1 Introduction to C .pptx
 
Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Introduction to C Programming
 
C LANGUAGE UNIT-1 PREPARED BY MVB REDDY
C LANGUAGE UNIT-1 PREPARED BY MVB REDDYC LANGUAGE UNIT-1 PREPARED BY MVB REDDY
C LANGUAGE UNIT-1 PREPARED BY MVB REDDY
 
C programming slide day 01 uploadd by md abdullah al shakil
C programming slide day 01 uploadd by md abdullah al shakilC programming slide day 01 uploadd by md abdullah al shakil
C programming slide day 01 uploadd by md abdullah al shakil
 
C-PROGRAMMING-LANGUAGE.pptx
C-PROGRAMMING-LANGUAGE.pptxC-PROGRAMMING-LANGUAGE.pptx
C-PROGRAMMING-LANGUAGE.pptx
 
Introduction of c language
Introduction of c languageIntroduction of c language
Introduction of c language
 
Intro to cprogramming
Intro to cprogrammingIntro to cprogramming
Intro to cprogramming
 
Basic c
Basic cBasic c
Basic c
 
Programming in c
Programming in cProgramming in c
Programming in c
 
Fundamental of Information Technology - UNIT 7
Fundamental of Information Technology - UNIT 7Fundamental of Information Technology - UNIT 7
Fundamental of Information Technology - UNIT 7
 
Learn c language Important topics ( Easy & Logical, & smart way of learning)
Learn c language Important topics ( Easy & Logical, & smart way of learning)Learn c language Important topics ( Easy & Logical, & smart way of learning)
Learn c language Important topics ( Easy & Logical, & smart way of learning)
 
Unit 2 introduction to c programming
Unit 2   introduction to c programmingUnit 2   introduction to c programming
Unit 2 introduction to c programming
 
C Fundamental.docx
C Fundamental.docxC Fundamental.docx
C Fundamental.docx
 
C programming presentation(final)
C programming presentation(final)C programming presentation(final)
C programming presentation(final)
 
C language part 1
C language part  1C language part  1
C language part 1
 

Más de sanjay joshi (20)

Ccna security
Ccna security Ccna security
Ccna security
 
Array in c language
Array in c languageArray in c language
Array in c language
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Static and dynamic polymorphism
Static and dynamic polymorphismStatic and dynamic polymorphism
Static and dynamic polymorphism
 
Embeded system
Embeded systemEmbeded system
Embeded system
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Vb and asp.net
Vb and asp.netVb and asp.net
Vb and asp.net
 
Angular js
Angular jsAngular js
Angular js
 
Oops in php
Oops in phpOops in php
Oops in php
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 
Css3 responsive
Css3 responsive Css3 responsive
Css3 responsive
 
Html ppt
Html pptHtml ppt
Html ppt
 
Java script
Java scriptJava script
Java script
 
Data Structure And Queue
Data Structure And Queue Data Structure And Queue
Data Structure And Queue
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Static and dynamic polymorphism
Static and dynamic polymorphismStatic and dynamic polymorphism
Static and dynamic polymorphism
 
Angularjs
AngularjsAngularjs
Angularjs
 
Visual basic
Visual basicVisual basic
Visual basic
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Embeded system
Embeded systemEmbeded system
Embeded system
 

Último

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
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Último (20)

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
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
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
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
 
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
 
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.
 
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...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
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Ữ Â...
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
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
 
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
 

Introduction to c programming language

  • 1. An Introduction to C Programming Language
  • 2. Intro  C is the famous programming language designed to develop system application program.
  • 3. Intro  It is known as the starting of every programming language all the basics of a program language starts from C language.  C is known as general purpose procedural programming language.
  • 4. History  Developed by M. Dennis Ritchie at the Bell laboratories in the year of 1972.  C is known as high level language because it has the power of a lower level language and easy syntax like high level language.
  • 5. Why C used as a professional programming language?  Easy to learn  It’s a structured programming language
  • 6. Why C used as a professional programming language?  Can handle low level programs  Compiled code can be used in different computers
  • 7. Features of C  C is a robust language  C is a highly portable language means once compiled; the code can be run in any computer.
  • 8. What is Compiler?  Compiler is a computer program that transforms the human written language into machine level language.
  • 9. What is Compiler?  In general words computer takes the code written by you and converts it into binary code.
  • 10. Structure & Syntax of a C Program  #include<stdio.h> #include<conio.h> void Main() clrscr(); { Printf(“my first C program”); }
  • 11. Description of Code:-  #- Prerocessor of program  Include-Include is a keyword
  • 12. Description of Code:-  Stdio.h-Standard input/output header file  Conio.h-Console input/output header file
  • 13. Description of Code:-  Void-is a keyword that collects the garbage value  Main()- main() identifies starting of the program execution
  • 14. Description of Code:-  Clrscr()- To clear the console screen  {, }-Group all statements together  Printf()-It is a function to print the output on screen.
  • 15. C Data types  Data type of C language mostly divided into 5 major types  int, char, float, double, void
  • 16. C Data types int char float void double
  • 17. C Data types  Int –Used to identify an integer value  Char- Used to identify a character  Float- Used to identify floating point type  Double- Used to identify floating point type  Void- denotes to type with garbage value
  • 18. Variable:-  Variable is a stored data memory allocated to use it in future and we can change the value too.
  • 19. Variable:-  Syntax- type variable name;  Ex- int a, b, c;
  • 20. Explanation of Example  Int-Data type  A, b, c variables
  • 21. Explanation of Example  Int-Data type  A, b, c variables  ;-Identifies the end of statement.
  • 22. End of Slide  This is a simple introduction to C basic that will be elaborated in further classes. If you want to be one of the programming professional then please visit our website for further details about C demo classes and new session.