C Language Fundamentals Unit 1
C Language Fundamentals Unit 1
Fundamentals
Unit 1
Steps in learning any Language
C 67 P 80
D 68 Q 81
E 69 R 82
F 70 S 83
G 71 T 84
H 72 U 85
I 73 V 86
J 74 W 87
K 75 X 88
L 76 Y 89
M 77 Z 90
Lower Case Letters
Lowercase letter:
g 103 t 116
h 104 u 117
i 105 v 118
j 106 w 119
k 107 x 120
l 108 y 121
m 109 z 122
Digits
! 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
@ 64 at symbol
[ 91 Left bracket
\ 92 Black slash
] 93 Right bracket
^ 94 Caret
_ 95 Under score
~ 126 Tilde
Escape Sequence
• 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.
Eg
✔ backspacing
✔ moving to a newline etc
✔ Both uppercase and lowercase letters can be used, and c language is case
sensitive. A special symbol underscore ( _ ) is also permitted.
✔Constants refers to fixed values that do not change during the execution of a
program.
Constants
Numeric Character
Constants Constants
Single
Integer Real character String
Constants Constants constants constants
Integer Constants
sequence.
VARIABLES
Valid
Himanshu
_Average
Total_cost
student1
Invalid
**abc
Abc%^
int
Char
Roll no
✔The following special symbols are used in C having some special meaning
and thus, cannot be used for some other purpose.
[] () {} , ; : * … = # ()
{ () {} []
}
;
Braces{}: These opening and ending curly braces marks the start and end of
a block of code containing more than one executable statement.
Parentheses(): These special symbols are used to indicate function calls and
function parameters.