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

PPT
Introduction to C Programming
PPT
Lecture 01 2017
PPT
Tokens_C
PDF
Introduction to C programming
PPTX
Introduction to c programming
PPT
introduction to C programming (C)
PPTX
Introduction of c programming unit-ii ppt
PPT
Basics of c
Introduction to C Programming
Lecture 01 2017
Tokens_C
Introduction to C programming
Introduction to c programming
introduction to C programming (C)
Introduction of c programming unit-ii ppt
Basics of c

What's hot (20)

PPTX
Introduction to C Programming
PPTX
Introduction to C programming
PPT
Programming in c
PPTX
Msc prev completed
PPTX
Msc prev updated
PPT
C Language
PPTX
Programming in C Basics
PPTX
A brief introduction to C Language
PPTX
C programming language
ODP
Basic C Programming language
DOC
1. introduction to computer
PDF
C programming part1
PPSX
C programming basics
PPTX
C programming
PPTX
introduction to c programming language
PPT
SPC Unit 2
PPTX
PDF
C programming
PPTX
C programming presentation(final)
DOCX
Features of c language 1
Introduction to C Programming
Introduction to C programming
Programming in c
Msc prev completed
Msc prev updated
C Language
Programming in C Basics
A brief introduction to C Language
C programming language
Basic C Programming language
1. introduction to computer
C programming part1
C programming basics
C programming
introduction to c programming language
SPC Unit 2
C programming
C programming presentation(final)
Features of c language 1
Ad

Similar to Presentation of c2 (20)

DOCX
Uniti classnotes
PPTX
Programming in C - Introduction to C Language
PPTX
CHARACTERISTICS OF C (1).pptxtejwueghhehe
PPTX
overview of c, history, structure, data types, tokens in c, constants, variab...
DOCX
Lect '1'
PDF
C programming introduction for beginners.pdf
PDF
C programming.pdf
PPTX
structure of a c program - slideshare.pptx
PPTX
Introduction to C which deals with the basics of C
PPT
C language part 1
PPT
C language part 1
PDF
C PADHLO FRANDS.pdf
PDF
C programme presentation
PDF
C Programming Language Introduction and C Tokens.pdf
DOCX
C and DS -unit 1 -Artificial Intelligence and ML.docx
PDF
Unit 2 introduction to c programming
PDF
C Language
PPTX
Unit-1 (introduction to c language).pptx
PPTX
PROGRAMMING IN C - SARASWATHI RAMALINGAM
Uniti classnotes
Programming in C - Introduction to C Language
CHARACTERISTICS OF C (1).pptxtejwueghhehe
overview of c, history, structure, data types, tokens in c, constants, variab...
Lect '1'
C programming introduction for beginners.pdf
C programming.pdf
structure of a c program - slideshare.pptx
Introduction to C which deals with the basics of C
C language part 1
C language part 1
C PADHLO FRANDS.pdf
C programme presentation
C Programming Language Introduction and C Tokens.pdf
C and DS -unit 1 -Artificial Intelligence and ML.docx
Unit 2 introduction to c programming
C Language
Unit-1 (introduction to c language).pptx
PROGRAMMING IN C - SARASWATHI RAMALINGAM
Ad

Recently uploaded (20)

PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
web development for engineering and engineering
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
Current and future trends in Computer Vision.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Geodesy 1.pptx...............................................
PPTX
Construction Project Organization Group 2.pptx
PDF
PPT on Performance Review to get promotions
PPT
introduction to datamining and warehousing
PDF
composite construction of structures.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
Digital Logic Computer Design lecture notes
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
web development for engineering and engineering
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
bas. eng. economics group 4 presentation 1.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Internet of Things (IOT) - A guide to understanding
Current and future trends in Computer Vision.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Geodesy 1.pptx...............................................
Construction Project Organization Group 2.pptx
PPT on Performance Review to get promotions
introduction to datamining and warehousing
composite construction of structures.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Safety Seminar civil to be ensured for safe working.
Embodied AI: Ushering in the Next Era of Intelligent Systems
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Digital Logic Computer Design lecture notes

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