C Foundation

What is C? C Compiler Installation C Extensions C Compiler C Interpreter C Program Structure

C Basics

C Keywords C Data Types C Identifiers C Variables C Constant C Escape Sequences C Constant and Volatile C Typecast

Operators

What is Operator C Comma Operator C Arithmetic Operators C Relational Operators C Logical Operators C Bitwise Operators C Conditional Operators C : : Operator C Operator Priority

Basic IO's

Basic IO's C Formatted Functions C Unformatted Functions C Common Functions

Control Statements

What is Control Statement C if Statement C if else Statement C Nested if Statement C Else if Statement C Break Statement C Continue Statement C Switch Statement C Goto Statement

Looping

What is Control Loop C for Loop C Nested for Loop C while Loop C Nested while Loop C do while Loop C Nested do while loop

Functions

What is Function C User Defined Functions C Recursion C Passing Parameters

Scope

Scope C Local Scope C Global Scope

Storage Classes

What is Storage Class C Auto C Extern C Static C Register

Array

What is Array C One Dimensional Array C Two Dimensional Array C Multi Dimensional Array C Arrays Of Strings

String

What is String C String Functions

Pointer

What is Pointer C Pointers Arithmetic C Pointer to Pointer C Pointers and Arrays C Pointers and Strings C Pointer to Functions Void Pointers Null Pointers C Null and Void Pointer

Structure

What is Structure C Struct within Struct C Array within Structure C Pointer to Structure C Structure and Function C Enum C Bitfield Structure C Type def

Union

What is Union

Files

What is File C read a file C write a file C File Handling C Error Handling C Low Level Disk I/O C Other file functions

Memory Allocation

What is Memory Allocation C Malloc() C Calloc() C Free() C Realloc() C Coreleft()

C Reference

All ASCII Code Basic C Questions

C Interview

C Interview Sets All Star Patterns All Number Patterns All Alphabet Patterns All Series Patterns
The ones who are crazy enough to think they can change the world are the ones who do.
- Steve Jobs

ASCII Table

What is ASCII?

ASCII is the full form of American Standard Code for Information Interchange, is a character encoding standard.

Example for ASCII code

A computer is an electronic machine which is capable of understanding only a numeric value's of 0's and 1's. If a user is typed a string "hello", then computer will convert this code into binary codes of 0's and 1's. i.e) Hello ---> 01101000 01100101 01101100 01101100 01101111. which is also a ASCII code in binary digits.

Purpose of ASCII code:

ASCII code was originally designed for use with teletypes purpose i.e) encoding the human readable data for security purpose. i.e) "hello" is human readable, but not 01101000 01100101 01101100 01101100 01101111 is what ASCII code's main purpose.

ASCII Code table

Here is an ASCII code table for better understanding

Hexa Octal Decimal Symbol Description
0000 0 (NULL) Null Character
1001 1 Start of Heading
2002 2 Start of text
3003 3 End of text
4004 4 End of Transmission
5005 5 Enquiry
6006 6 Acknowledgement
7007 7 Bell
8010 8 Back Space
9011 9 Horizontal Tab
A012 10 Line feed
B013 11 Vertical Tab
C014 12 Form feed
D015 13 Carriage Return
E016 14 Shift Out/X ON
F017 15 Shift In/X-OFF
10020 16 Data Line Escape
11021 17 Device Control 1(often XON)
12022 18 Device Control 2
13023 19 !! Device Control 3
14024 20 Device Control 4(often XOFF)
15025 21 § Negative Acknowledgement
16026 22 Synchronous Idle
17027 23 End of Tansmit Block
18030 24 Cancel
19031 25 End of Medium
1A032 26 Substitute
1B033 27 Escape
1C034 28 File Separator
1D035 29 Group seperator
1E036 30 Record Seperator
1F037 31 Unit Seperator
20040 32 (BL) Blank Space
21041 33 ! Exclamation mark
22042 34 " Double Quotes
23043 35 # Number
24044 36 $ Dollar
25045 37 % Percentage
26046 38 & Ampersand
27047 39 ' Single Quote
28050 40 ( open paranthesis(open Bracket)
29051 41 ) Closing Parenthesis(close Bracket)
2A052 42 * Asterisk
2B053 43 + plus
2C054 44 , Comma
2D055 45 - hyphen
2E056 46 . Period, dot or full stop
2F057 47 / Slash or divide
30060 48 0 Zero
31061 49 1 One
32062 50 2 Two
33063 51 3 Three
34064 52 4 Four
35065 53 5 Five
36066 54 6 Six
37067 55 7 Seven
38070 56 8 Eight
39071 57 9 Nine
3A072 58 : Colon
3B073 59 ; Semi colon
3C074 60 < Less than(or open angled bracket)
3D075 61 = Equals
3E076 62 > Greter Than(or Closed angle)
3F077 63 ? Question mark
40100 64 @ At Symbol
41101 65 A Uppercase A
42102 66 B Uppercase B
43103 67 C Uppercase C
44104 68 D Uppercase D
45104 69 E Uppercase E
46106 70 F Uppercase F
47107 71 G Uppercase G
48110 72 H Uppercase H
49111 73 I Uppercase I
4A112 74 J Uppercase J
4B113 75 K Uppercase K
4C114 76 L Uppercase L
4D115 77 M Uppercase M
4E116 78 N Uppercase N
4F117 79 O Uppercase O
50120 80 P Uppercase P
51121 81 Q Uppercase Q
52122 82 R Uppercase R
53123 83 S Uppercase S
54124 84 T Uppercase T
55125 85 U Uppercase U
56126 86 V Uppercase V
57127 87 W Uppercase W
58130 88 X Uppercase X
59131 89 Y Uppercase Y
5A132 90 Z Uppercase Z
5B133 91 [ Opening Bracket
5C134 92 \ Back Slash
5D135 93 ] Closing Bracket
5E136 94 ^ Caret-circumflex
5F137 95 _ Underscore
60140 96 ` Grave accent
61141 97 a Lowercase a
62142 98 b Lowercase b
63143 99 c Lowercase c
64144 100 d Lowercase d
65145 101 e Lowercase e
66146 102 f Lowercase f
67147 103 g Lowercase g
68150 104 h Lowercase h
69151 105 i Lowercase i
6A152 106 j Lowercase j
6B153 107 k Lowercase k
6C154 108 l Lowercase l
6D155 109 m Lowercase m
6E156 110 n Lowercase n
6F157 111 o Lowercase o
70160 112 p Lowercase p
71161 113 q Lowercase q
72162 114 r Lowercase r
73163 115 s Lowercase s
74164 116 t Lowercase t
75165 117 u Lowercase u
76166 118 v Lowercase v
77167 119 w Lowercase w
78170 120 x Lowercase x
79171 121 y Lowercase y
7A172 122 z Lowercase z
7B173 123 { Opening Brace
7C174 124 | Vertical bar
7D175 125 } Closing Brace
7E176 126 ~ Equivalent Sign
7F177 127 (DEL) Delete
80200 128 Ç Latin capital letter C with cedilla
81201 129 ü Latin small letter u with diaeresis
82202 130 é Latin small letter e with acute
83203 131 â Latin small letter a with circumflex
84204 132 ä Latin small letter a with dieresis
85205 133 à Latin small letter a with grave
86206 134 å Latin small letter a with ring above
87207 135 ç Latin small letter c with cedilla
88210 136 ê Latin small letter e with circumflex
89211 137 ë Latin small letter e with dieresis
8A212 138 è Latin small letter e with grave
8B213 139 ï Latin small letter i with dieresis
8C214 140 î Latin small letter i with cirucumflex
8D215 141 ì Latin small letter i with grave
8E216 142 Ä Latin capital letter A with dieresis
8F217 143 Å Latin capital letter A with ring above
90220 144 É Latin capital letter E with acute
91221 145 æ Latin small letter ae
92222 146 Æ Latin capital letter AE
93223 147 ô Latin small letter o with circumflex
94224 148 ö Latin small letter o with dieresis
95225 149 ò Latin small letter o with grave
96226 150 û Latin small letter u with circumflex
97227 151 ù Latin small letter u with grave
98230 152 ÿ Latin small letter y with dierersis
99231 153 Ö Latin capital letter with O dieresis
9A232 154 Ü Latin capital letter U with dierersis
9B233 155 ¢ cent
9C234 156 Lira
9D235 157 ¥ Yen
9E236 158 Pesera
9F237 159 ƒ Latin small letter f with hook
A0240 160 á Latin small letter a with acute
A1241 161 í Latin small letter i with acute
A2242 162 ó Latin small letter o with acute
A3243 163 ú Latin small letter u with acute
A4244 164 ñ Latin small letter n with tilde
A5245 165 Ñ Latin capital letter N with tilde
A6246 166 ª Feminine ordinal indicator
A7247 167 º Masculine ordinal indicator
A8250 168 ¿ Inverted Question Mark
A9251 169 Reversed not
AA252 170 ̚ Not
AB253 171 ½ Vulgar fraction one half
AC254 172 ¼ Vulgar fraction one quarter
AD255 173 ¡ Inverted exclamation mark
AE256 174 « Left-pointing double angle quotation
AF257 175 » Right-pointing double angle quotation
B0260 176 Light Shade
B1261 177 Medium Shade
B2262 178 Dark Shade
B3263 179 Box drawings vertical
B4264 180 Box drawings light vertical and left
B5265 181 Box drawings vertical Single and left double
B6266 182 Box drawings vertical double and left single
B7267 183 Box drawings down double and left single
B8270 184 Box drawings down single and left double
B9271 185 Box drawings double vertical and left single
BA272 186 Box drawings double vertical
BB273 187 Box drawings double down and left
BC274 188 Box drawings double up and left
BD275 189 Box drawings double and left single
BE276 190 Box drawings up single and left double
BF277 191 Box drawings light down and left
C0300 192 Box drawings light up and right
C1301 193 Box drawings light horizontal and up
C2302 194 Box drawings light horizontal and down
C3303 195 Box drawings light vertical and right
C4304 196 Box drawings light horizontal
C5305 197 Box drawings light vertical and horizontal
C6306 198 Box drawings vertical single and right double
C7307 199 Box drawings vertical double and right single
C8310 200 Box drawings double up and right
C9311 201 Box drawings double down and right
CA312 202 Box drawings double up and horizontal
CB313 203 Box drawings double down and horizontal
CC314 204 Box drawings double vertical and right
CD315 205 Box drawings double horizontal
CE316 206 Box drawings double vertical and horizontal
CF317 207 Box drawings up single and horizontal double
D0320 208 Box drawings up double and horizontal single
D1321 209 Box drawings down single and horizontal double
D2322 210 Box drawings down double and horizontal single
D3323 211 Ó Box drawings up double and right single
D4324 212 Box drawings up single and right double
D5325 213 Box drawings down single and right double
D6326 214 Box drawings down double and right Single
D7327 215 Box drawings vertical double and horizontal single
D8330 216 Box drawings vertical single and horizontal double
D9331 217 Box drawings light up and left
DA332 218 Box drawings light down and right
DB333 219 Full Block
DC334 220 Lower half Block
DD335 221 Left half block
DE336 222 Right half block
DF337 223 ß Upper half block
E0340 224 α Greek small letter Alpha
E1341 225 β Greek small letter Beta
E2342 226 Γ Greek Capital letter Gamma
E3343 227 π Greek small letter Pi
E4344 228 Greek capital letter sigma
E5345 229 σ Greek small letter sigama
E6346 230 μ Greek small letter Mu
E7347 231 Τ Greek small letter Tau
E8350 232 Φ Greek capital letter phi
E9351 233 θ Greek small letter Theta
EA352 234 Ω Greek capital letter Omega(ohm)
EB353 235 δ Greek small letter Delta
EC354 236 Infinity
ED355 237 Latin small letter 00 with stroke
EE356 238 Є Cyrillic capital letter Ukrainian IE
EF357 239 Intersection
F0360 240 Identical to
F1361 241 ± Plus-minus
F2362 242 Greater than or equal to
F3363 243 Less than or equal to
F4364 244 Top half integral
F5365 245 Bottom half integral
F6366 246 ÷ Division
F7367 247 ÷ Almost equal to
F8370 248 ̊ white bullet
F9371 249 Bullet
FA372 250 . Deciaml point
FB373 251 Square root
FC374 252 η Greek small letter Eta
FD375 253 ² Superscript two
FE376 254 Black square
FF377 255

Report Us

We may make mistakes(spelling, program bug, typing mistake and etc.), So we have this container to collect mistakes. We highly respect your findings.

Report

We to update you