SlideShare a Scribd company logo
2
Most read
3
Most read
11
Most read
Character set of
C language
by
Chandrapriya. c
Character set
C has its own Vocabulary and Grammar.
The Character that can be used to form words, numbers and expression
depend upon the Computer on which the program is run.
The Character in C are grouped into the following two categories:
Character Set
Source character set Execution character set
Source character set
The source character set are grouped into the following categories.
Source character set
Alphabets Digits Special character White space
Alphabets:
Alphabets are divided into two group in C language.
They are
Uppercase letter
Lowercase letter
Uppercase letter:
Alphabets ASCII Value
A 65
B 66
C 67
D 68
E 69
F 70
G 71
H 72
I 73
J 74
K 75
L 76
M 77
N 78
O 79
P 80
Q 81
R 82
S 83
T 84
U 85
V 86
W 87
X 88
Y 89
Z 90
Lowercase letter:
Alphabets ASCII Value
a 97
b 98
c 99
d 100
e 101
f 102
g 103
h 104
i 105
j 106
k 107
l 108
m 109
n 110
o 111
p 112
q 113
r 114
s 115
t 116
u 117
v 118
w 119
x 120
y 121
z 122
Digits:
Digits ASCII Value
0 48
1 49
2 50
3 51
4 52
5 53
6 54
7 55
8 56
9 57
Special characters:
Special character ASCII Value Character represented
! 32 Exclamation mark
” 34 Quotation mark
# 35 Number sign
$ 36 Dollar Sign
% 37 Percent sign
& 38 Ampersand
( 40 Left parenthesis
) 41 Right parenthesis
* 42 Asterisk
+ 43 Plus sign
Cont.….
, 44 Comma
- 45 Mins sign
. 46 Period
/ 47 Slash
: 58 Colon
; 59 Semicolon
< 60 Opening angle bracket (or)
less then sign
= 61 Equal sign
> 62 Closing angle bracket (or)
Greater than sign
? 63 Question mark
Cont.….
@ 64 at symbol
[ 91 Left bracket
 92 Black slash
] 93 Right bracket
^ 94 Caret
_ 95 Under score
{ 123 Left brace
| 124 Vertical bar
} 125 Right brace
~ 126 Tilde
Whitespace character:
Constant Character represented
b Blank space
 Back slash
n New line
f Form feed
0 Null
v Vertical tab
t Horizontal tab
’ Single quote
r Carriage return
a Alarm(bell)
? Question mark
Execution character set:
• Certain ASCII character are unprintable which means they are not displayed on
the screen or printer.
• Those character performed other function aside from displaying text.
Examples are
backspacing
moving to a newline or
ringing a bell
they are used in output statements.
• Execution character set are always represented by a combination of backslash()
followed by a character.
• These characters combination are called as Escape sequence.
Escape sequence:
Escape sequence ASCII Value Character represented
0 00 Null
a 07 Alarm (Beep Bell)
b 08 Back space
t 09 Horizontal tab
n 10 New line
v 11 Vertical tab
f 12 Form feed
r 13 Carriage return
’’ 34 Double quote
’ 39 Single quote
? 63 Question mark
 92 Black slash
Character set of c

More Related Content

PPTX
Integration of Sensors & Actuators With Arduino.pptx
PPTX
supervised learning
PPTX
Barriers Of Communication
PPTX
uniform resource locator
PPTX
Machine learning ppt
PPTX
Presentation on storage devices
PPSX
Lasso and ridge regression
PDF
Storage devices and media
Integration of Sensors & Actuators With Arduino.pptx
supervised learning
Barriers Of Communication
uniform resource locator
Machine learning ppt
Presentation on storage devices
Lasso and ridge regression
Storage devices and media

What's hot (20)

PPTX
C tokens
PPT
Variables in C Programming
PPTX
C Tokens
PPTX
User defined functions in C
PPTX
C keywords and identifiers
PDF
Function overloading ppt
PPTX
Control statements in c
PPTX
Data types in C
PPTX
classes and objects in C++
PPT
constants, variables and datatypes in C
PPT
History of c
PPTX
Polymorphism in c++(ppt)
PPTX
Dynamic memory allocation
PDF
Unit ii chapter 2 Decision making and Branching in C
PPTX
Presentation on Function in C Programming
PPT
Constants in C Programming
PPT
Basics of C programming
PPTX
Basic Data Types in C++
PPTX
Data Types and Variables In C Programming
C tokens
Variables in C Programming
C Tokens
User defined functions in C
C keywords and identifiers
Function overloading ppt
Control statements in c
Data types in C
classes and objects in C++
constants, variables and datatypes in C
History of c
Polymorphism in c++(ppt)
Dynamic memory allocation
Unit ii chapter 2 Decision making and Branching in C
Presentation on Function in C Programming
Constants in C Programming
Basics of C programming
Basic Data Types in C++
Data Types and Variables In C Programming
Ad

Similar to Character set of c (20)

PDF
C PADHLO FRANDS.pdf
PDF
PDF
slide share test
PDF
1377874234 eeeeeeeeeeeeeeeor more file
PDF
PDF
PDF
Added to test pdf
PDF
Ganesh added
PDF
Resource one
PDF
Consent Decree Florida
PDF
added for test
C PADHLO FRANDS.pdf
slide share test
1377874234 eeeeeeeeeeeeeeeor more file
Added to test pdf
Ganesh added
Resource one
Consent Decree Florida
added for test
Ad

More from Chandrapriya Rediex (8)

PDF
5-Unit (CAB).pdf
PDF
unit-4 (CAB).pdf
PDF
CAB - Unit-2.pdf
PDF
CAB unit-1.pdf
PDF
Evolauion of computer converted
PPTX
Enhanced adaptive security system for SMS – based One Time Password
PDF
Enhanced adaptive security system for SMS – based One Time Password
PPTX
Overview of c
5-Unit (CAB).pdf
unit-4 (CAB).pdf
CAB - Unit-2.pdf
CAB unit-1.pdf
Evolauion of computer converted
Enhanced adaptive security system for SMS – based One Time Password
Enhanced adaptive security system for SMS – based One Time Password
Overview of c

Recently uploaded (20)

PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
RMMM.pdf make it easy to upload and study
PDF
Yogi Goddess Pres Conference Studio Updates
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Complications of Minimal Access Surgery at WLH
PPTX
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
master seminar digital applications in india
PPTX
Lesson notes of climatology university.
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
LDMMIA Reiki Yoga Finals Review Spring Summer
RMMM.pdf make it easy to upload and study
Yogi Goddess Pres Conference Studio Updates
Microbial diseases, their pathogenesis and prophylaxis
Complications of Minimal Access Surgery at WLH
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
Microbial disease of the cardiovascular and lymphatic systems
2.FourierTransform-ShortQuestionswithAnswers.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
What if we spent less time fighting change, and more time building what’s rig...
Paper A Mock Exam 9_ Attempt review.pdf.
History, Philosophy and sociology of education (1).pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Final Presentation General Medicine 03-08-2024.pptx
Anesthesia in Laparoscopic Surgery in India
master seminar digital applications in india
Lesson notes of climatology university.
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE

Character set of c

  • 1. Character set of C language by Chandrapriya. c
  • 2. Character set C has its own Vocabulary and Grammar. The Character that can be used to form words, numbers and expression depend upon the Computer on which the program is run. The Character in C are grouped into the following two categories: Character Set Source character set Execution character set
  • 3. Source character set The source character set are grouped into the following categories. Source character set Alphabets Digits Special character White space Alphabets: Alphabets are divided into two group in C language. They are Uppercase letter Lowercase letter
  • 4. Uppercase letter: Alphabets ASCII Value A 65 B 66 C 67 D 68 E 69 F 70 G 71 H 72 I 73 J 74 K 75 L 76 M 77 N 78 O 79 P 80 Q 81 R 82 S 83 T 84 U 85 V 86 W 87 X 88 Y 89 Z 90
  • 5. Lowercase letter: Alphabets ASCII Value a 97 b 98 c 99 d 100 e 101 f 102 g 103 h 104 i 105 j 106 k 107 l 108 m 109 n 110 o 111 p 112 q 113 r 114 s 115 t 116 u 117 v 118 w 119 x 120 y 121 z 122
  • 6. Digits: Digits ASCII Value 0 48 1 49 2 50 3 51 4 52 5 53 6 54 7 55 8 56 9 57
  • 7. Special characters: Special character ASCII Value Character represented ! 32 Exclamation mark ” 34 Quotation mark # 35 Number sign $ 36 Dollar Sign % 37 Percent sign & 38 Ampersand ( 40 Left parenthesis ) 41 Right parenthesis * 42 Asterisk + 43 Plus sign
  • 8. Cont.…. , 44 Comma - 45 Mins sign . 46 Period / 47 Slash : 58 Colon ; 59 Semicolon < 60 Opening angle bracket (or) less then sign = 61 Equal sign > 62 Closing angle bracket (or) Greater than sign ? 63 Question mark
  • 9. Cont.…. @ 64 at symbol [ 91 Left bracket 92 Black slash ] 93 Right bracket ^ 94 Caret _ 95 Under score { 123 Left brace | 124 Vertical bar } 125 Right brace ~ 126 Tilde
  • 10. Whitespace character: Constant Character represented b Blank space Back slash n New line f Form feed 0 Null v Vertical tab t Horizontal tab ’ Single quote r Carriage return a Alarm(bell) ? Question mark
  • 11. Execution character set: • Certain ASCII character are unprintable which means they are not displayed on the screen or printer. • Those character performed other function aside from displaying text. Examples are backspacing moving to a newline or ringing a bell they are used in output statements. • Execution character set are always represented by a combination of backslash() followed by a character. • These characters combination are called as Escape sequence.
  • 12. Escape sequence: Escape sequence ASCII Value Character represented 0 00 Null a 07 Alarm (Beep Bell) b 08 Back space t 09 Horizontal tab n 10 New line v 11 Vertical tab f 12 Form feed r 13 Carriage return ’’ 34 Double quote ’ 39 Single quote ? 63 Question mark 92 Black slash