Professional Documents
Culture Documents
Person to Person
Person to Machine
Person to Person
Ex:
English
Te l u g u
Hindi
Urdu
Ta m i l e t c . .
Programming Languages
Programming Language
Natural Language
• Writing a C program is similar to writing an essay
in English.
Recall all the stages through which you have undergone in the
process of learning how to write an essay in English.
• C Character Set
• Keywords
• Identifiers
• Constants
• Variables
• Data types
C Character Set
DIGITS
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
SPECIAL CHARACTERS
~ tilde ′ apostrophe
% percent sign
| vertical bar : colon
@ at symbol [ left bracket
+ plus sign
- minus sign ] right bracket
* asterisk " quotation mark
< less than
> greater than
; semicolon
_ underscore
^ caret
# number sign
! exclamation mark
= equal to , comma
& ampersand
$ dollar sign
{ left flower brace
( left parenthesis } right flower brace
) right parenthesis
\ back slash
/ slash ? Question mark
. dot operator
WHITESPACE CHARACTERS
C Program
main()
{
int a;
Used to write the source a=2;
Program
C Character Set printf(“a=%d”, a);
}
a. Alphabets
b. Digits
c. Special Characters
d. White Spaces
• If you know C's source character set, the next
step is keywords & identifiers.
Keywords
List of Keyword in C
Thank U.....