SlideShare a Scribd company logo
1 of 11
Presentation
of
C
Subject :- Introduction to C
Submitted to:-
Miss. Diya Sharma Submitted by :-
Lovepreet (023)
C language
 C is a general purpose structured powerful modern language. It is a high level language and
low level too.
 This language was designed for developing fast, reliable , efficient, economical and portable
system software.
 Built-in functions
 More operators then other
 Simple to learn
Algorithum
 a sequence of instructions designed in such a way that if the instructions are executed in some specified sequence,
the desired result will be obtained.
 Ex:-
STEP 1 : INPUT a, b,
STEP 2 : sum = a+b
Step 3 = Write “Sum of two number”, SUM
Step 4 = END
Compiler and Interpreator
 Compiler converts all the source code into machine code, creating an
executable file.
 As interpreter also converts source code to machine code and it done only a
line at a time
Character set
Character set means that the characters and symbols that a C program can
understand and accept. These are grouped from the commands, expressions, words,
co-statements and other tokens for C language.
Character set is the combination of alphabet, digit, special characters and white
space.
EXAMPLE= ,..,/,;,’,[,], and so on.
Characterset
Letter
digit
Empty space
character
Special
character
Keywords and identifiers
 There are mainly 40 keywords among which 32 are used by many C-compilers.
 Example= auto, char, break, case, goto, int, return, if, float and many more.
 “INDENTIFIERS” are some words or name which identify whether it is a
constant or variable.
TOKENS
 the blank space are called tokens. In c program all the C- statements having keywords, identifiers, constant, strings,
operators and special symbols are called c-tokens.
 For example , some C-tokens used in a c-programing are:
Reverse words: float, do, if etc
Constant : 300.9, 20.99, -098 etc
Strings: “raman”, “2002-03”etc
Operators: +,=,-,<> etc
Special symbols:{},[],() @, #, $, % etc
Identifiers
 Iis a string of alphanumeric characters
 . They are used to name variables, arrays, functions.
 It begins with the alphabetic character.
 Must not contain white space
 Connot use keyword as identifiers
keywords
 Predefined meaning in a language.
 Auto, do, for, else, new, try, char, int and so on.
Literal or constant
 Whose value cannot change during program execution.
 Commas and blanks spaces cannot be included
 E.g= 12,1.2,0XF and so on
Presentation of c2

More Related Content

What's hot

Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Introduction to C ProgrammingPreeti Kashyap
 
Introduction to C programming
Introduction to C programmingIntroduction to C programming
Introduction to C programmingRokonuzzaman Rony
 
Msc prev completed
Msc prev completedMsc prev completed
Msc prev completedmshoaib15
 
Msc prev updated
Msc prev updatedMsc prev updated
Msc prev updatedmshoaib15
 
Programming in C Basics
Programming in C BasicsProgramming in C Basics
Programming in C BasicsBharat Kalia
 
A brief introduction to C Language
A brief introduction to C LanguageA brief introduction to C Language
A brief introduction to C LanguageMohamed Elsayed
 
C programming language
C programming languageC programming language
C programming languageMaha lakshmi
 
Basic C Programming language
Basic C Programming languageBasic C Programming language
Basic C Programming languageAbhishek Soni
 
1. introduction to computer
1. introduction to computer1. introduction to computer
1. introduction to computerShankar Gangaju
 
C programming basics
C  programming basicsC  programming basics
C programming basicsargusacademy
 
introduction to c programming language
introduction to c programming languageintroduction to c programming language
introduction to c programming languagesanjay joshi
 
C programming presentation(final)
C programming presentation(final)C programming presentation(final)
C programming presentation(final)aaravSingh41
 
Features of c language 1
Features of c language 1Features of c language 1
Features of c language 1srmohan06
 

What's hot (20)

Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Introduction to C Programming
 
Introduction to C programming
Introduction to C programmingIntroduction to C programming
Introduction to C programming
 
Programming in c
Programming in cProgramming in c
Programming in c
 
Msc prev completed
Msc prev completedMsc prev completed
Msc prev completed
 
Msc prev updated
Msc prev updatedMsc prev updated
Msc prev updated
 
C Language
C LanguageC Language
C Language
 
Programming in C Basics
Programming in C BasicsProgramming in C Basics
Programming in C Basics
 
A brief introduction to C Language
A brief introduction to C LanguageA brief introduction to C Language
A brief introduction to C Language
 
C programming language
C programming languageC programming language
C programming language
 
Basic C Programming language
Basic C Programming languageBasic C Programming language
Basic C Programming language
 
1. introduction to computer
1. introduction to computer1. introduction to computer
1. introduction to computer
 
C programming part1
C programming part1C programming part1
C programming part1
 
C programming basics
C  programming basicsC  programming basics
C programming basics
 
C programming
C programmingC programming
C programming
 
introduction to c programming language
introduction to c programming languageintroduction to c programming language
introduction to c programming language
 
SPC Unit 2
SPC Unit 2SPC Unit 2
SPC Unit 2
 
C languaGE UNIT-1
C languaGE UNIT-1C languaGE UNIT-1
C languaGE UNIT-1
 
C programming
C programmingC programming
C programming
 
C programming presentation(final)
C programming presentation(final)C programming presentation(final)
C programming presentation(final)
 
Features of c language 1
Features of c language 1Features of c language 1
Features of c language 1
 

Similar to Presentation of c2

Similar to Presentation of c2 (20)

cunit1.pptx
cunit1.pptxcunit1.pptx
cunit1.pptx
 
Basics of c
Basics of cBasics of c
Basics of c
 
C programming.pdf
C programming.pdfC programming.pdf
C programming.pdf
 
C PROGRAMMING LANGUAGE.pptx
 C PROGRAMMING LANGUAGE.pptx C PROGRAMMING LANGUAGE.pptx
C PROGRAMMING LANGUAGE.pptx
 
Introduction to C++ (for beginner): C++ Keywords.pptx
Introduction to C++  (for beginner): C++ Keywords.pptxIntroduction to C++  (for beginner): C++ Keywords.pptx
Introduction to C++ (for beginner): C++ Keywords.pptx
 
C introduction
C introductionC introduction
C introduction
 
Unit 4 Foc
Unit 4 FocUnit 4 Foc
Unit 4 Foc
 
C notes
C notesC notes
C notes
 
Basics of C.ppt
Basics of C.pptBasics of C.ppt
Basics of C.ppt
 
Getting started with c++
Getting started with c++Getting started with c++
Getting started with c++
 
Getting started with c++
Getting started with c++Getting started with c++
Getting started with c++
 
C Lang notes.ppt
C Lang notes.pptC Lang notes.ppt
C Lang notes.ppt
 
C PADHLO FRANDS.pdf
C PADHLO FRANDS.pdfC PADHLO FRANDS.pdf
C PADHLO FRANDS.pdf
 
C++
C++C++
C++
 
C presentation book
C presentation bookC presentation book
C presentation book
 
Basics of C
Basics of CBasics of C
Basics of C
 
C language ppt
C language pptC language ppt
C language ppt
 
Basics of C.ppt
Basics of C.pptBasics of C.ppt
Basics of C.ppt
 
Compiler Construction.pptx
Compiler Construction.pptxCompiler Construction.pptx
Compiler Construction.pptx
 
Basics of C.ppt
Basics of C.pptBasics of C.ppt
Basics of C.ppt
 

Recently uploaded

TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
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
 
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
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
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
 
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
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 

Recently uploaded (20)

TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
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
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
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
 
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
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
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...
 
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
 
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
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 

Presentation of c2

  • 1. Presentation of C Subject :- Introduction to C Submitted to:- Miss. Diya Sharma Submitted by :- Lovepreet (023)
  • 2. C language  C is a general purpose structured powerful modern language. It is a high level language and low level too.  This language was designed for developing fast, reliable , efficient, economical and portable system software.  Built-in functions  More operators then other  Simple to learn
  • 3. Algorithum  a sequence of instructions designed in such a way that if the instructions are executed in some specified sequence, the desired result will be obtained.  Ex:- STEP 1 : INPUT a, b, STEP 2 : sum = a+b Step 3 = Write “Sum of two number”, SUM Step 4 = END
  • 4. Compiler and Interpreator  Compiler converts all the source code into machine code, creating an executable file.  As interpreter also converts source code to machine code and it done only a line at a time
  • 5. Character set Character set means that the characters and symbols that a C program can understand and accept. These are grouped from the commands, expressions, words, co-statements and other tokens for C language. Character set is the combination of alphabet, digit, special characters and white space. EXAMPLE= ,..,/,;,’,[,], and so on. Characterset Letter digit Empty space character Special character
  • 6. Keywords and identifiers  There are mainly 40 keywords among which 32 are used by many C-compilers.  Example= auto, char, break, case, goto, int, return, if, float and many more.  “INDENTIFIERS” are some words or name which identify whether it is a constant or variable.
  • 7. TOKENS  the blank space are called tokens. In c program all the C- statements having keywords, identifiers, constant, strings, operators and special symbols are called c-tokens.  For example , some C-tokens used in a c-programing are: Reverse words: float, do, if etc Constant : 300.9, 20.99, -098 etc Strings: “raman”, “2002-03”etc Operators: +,=,-,<> etc Special symbols:{},[],() @, #, $, % etc
  • 8. Identifiers  Iis a string of alphanumeric characters  . They are used to name variables, arrays, functions.  It begins with the alphabetic character.  Must not contain white space  Connot use keyword as identifiers
  • 9. keywords  Predefined meaning in a language.  Auto, do, for, else, new, try, char, int and so on.
  • 10. Literal or constant  Whose value cannot change during program execution.  Commas and blanks spaces cannot be included  E.g= 12,1.2,0XF and so on