Download presentation
Presentation is loading. Please wait.
Published byAnis Amice Griffith Modified over 9 years ago
1
INTRODUCTION TO C C was developed by Dennis Ritchie at Bell laboratory in 1972 It is an upgrade version of languages B and BCPL.
2
Features of C It is a structured programming language. It is highly portable. It is a middle level language. It is a case sensitive language. It uses Top-Down approach. It is a Free form language.etc,.
3
Steps in learning C Character Set ProgramsInstructionsTokens
4
C Character Set Execution Character Set Source Character Set Special Characters DigitsAlphabets Escape Sequence White Spaces
5
C Character Set (Cont) Source Character Set – It is used to construct the statements in the program. Executable Character Set – These characters are employed at the time of execution i.e. they have effects only when the program is being executed.
6
Source Character Set Lettersa to z,A to Z Digits0 to 9 Special Characters! @ # $ % ^ & * ( ) _ - + = \ | { } [ ] etc,. White SpacesBlank Space,Horizontal tab, New line, Vertical tab etc,.
7
Special characters Comma, Period or dot. Semicolon ; Colon : Apostrophe ‘ Quotation mark “ Exclamation mark ! Vertical bar | Back Slash \ Tilde ~ Underscore - Dollar $ Question mark ?
8
Ampersand & Caret ^ Asterisk * Minus- Addition+ Lesser than< Greater than> Parenthesis() Bracket[] Braces{} Percentage% Hash# Equal to= At the rate@
9
Executable Character Set CharactersEscape Sequence Back Space\b Horizontal Space\t Vertical Space\v Newline\n
10
C Tokens The smallest element in the C language is the token. It may be a single character or a sequence of characters.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.