SlideShare a Scribd company logo
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 Programming
Preeti Kashyap
 
Introduction to C programming
Introduction to C programmingIntroduction to C programming
Introduction to C programming
Rokonuzzaman Rony
 
Programming in c
Programming in cProgramming in c
Programming in c
indra Kishor
 
Msc prev completed
Msc prev completedMsc prev completed
Msc prev completed
mshoaib15
 
Msc prev updated
Msc prev updatedMsc prev updated
Msc prev updated
mshoaib15
 
C Language
C LanguageC Language
C Language
Aakash Singh
 
Programming in C Basics
Programming in C BasicsProgramming in C Basics
Programming in C Basics
Bharat Kalia
 
A brief introduction to C Language
A brief introduction to C LanguageA brief introduction to C Language
A brief introduction to C Language
Mohamed Elsayed
 
C programming language
C programming languageC programming language
C programming language
Maha lakshmi
 
Basic C Programming language
Basic C Programming languageBasic C Programming language
Basic C Programming language
Abhishek Soni
 
1. introduction to computer
1. introduction to computer1. introduction to computer
1. introduction to computer
Shankar Gangaju
 
C programming part1
C programming part1C programming part1
C programming part1
Gaddam Kowshik
 
C programming basics
C  programming basicsC  programming basics
C programming basics
argusacademy
 
C programming
C programmingC programming
C programming
Jigarthacker
 
introduction to c programming language
introduction to c programming languageintroduction to c programming language
introduction to c programming language
sanjay joshi
 
SPC Unit 2
SPC Unit 2SPC Unit 2
SPC Unit 2
SIMONTHOMAS S
 
C languaGE UNIT-1
C languaGE UNIT-1C languaGE UNIT-1
C programming
C programmingC programming
C programming
Rounak Samdadia
 
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 1
srmohan06
 

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

cunit1.pptx
cunit1.pptxcunit1.pptx
cunit1.pptx
zeenatparveen24
 
Basics of c
Basics of cBasics of c
Basics of c
vinothini1996
 
C programming.pdf
C programming.pdfC programming.pdf
C programming.pdf
JitendraYadav351971
 
C PROGRAMMING LANGUAGE.pptx
 C PROGRAMMING LANGUAGE.pptx C PROGRAMMING LANGUAGE.pptx
C PROGRAMMING LANGUAGE.pptx
AnshSrivastava48
 
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
ofeliacanaria1
 
C introduction
C introductionC introduction
C introduction
AswathyBAnil
 
Unit 4 Foc
Unit 4 FocUnit 4 Foc
Unit 4 Foc
JAYA
 
C notes
C notesC notes
C notes
Raunak Sodhi
 
Basics of C.ppt
Basics of C.pptBasics of C.ppt
Basics of C.ppt
gprasannakumarPrasan
 
Getting started with c++
Getting started with c++Getting started with c++
Getting started with c++
Bussines man badhrinadh
 
Getting started with c++
Getting started with c++Getting started with c++
Getting started with c++
K Durga Prasad
 
C Lang notes.ppt
C Lang notes.pptC Lang notes.ppt
C Lang notes.ppt
ShivanadhuniBhanuPra
 
C PADHLO FRANDS.pdf
C PADHLO FRANDS.pdfC PADHLO FRANDS.pdf
C PADHLO FRANDS.pdf
RishiBhardwaj65
 
C++
C++C++
C++
k v
 
C presentation book
C presentation bookC presentation book
C presentation book
krunal1210
 
Basics of C
Basics of CBasics of C
Basics of C
pksahoo9
 
C language ppt
C language pptC language ppt
C language ppt
Ğäùråv Júñêjå
 
Basics of C.ppt
Basics of C.pptBasics of C.ppt
Basics of C.ppt
SangramNayak23
 
Compiler Construction.pptx
Compiler Construction.pptxCompiler Construction.pptx
Compiler Construction.pptx
BilalImran17
 
Basics of C.ppt
Basics of C.pptBasics of C.ppt
Basics of C.ppt
SeethaDinesh
 

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

2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
NazakatAliKhoso2
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 

Recently uploaded (20)

2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 

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