Basics-
The Basic building blocks in C are known as Tokens.
# Tokens -

It contains keywords,variables,constants,strings,special character,operators.

It contains keywords,variables,constants,strings,special character,operators.
All Keywords are basically a sequence of characters that have a fixed meaning.
(All keywords must be written in small letters or lower case)
These are 32 in number.
auto | double | int | struct |
break | else | long | switch |
case | enum | register | typedef |
const | extern | return | union |
char | float | short | unsigned |
continue | for | signed | volatile |
default | goto | sizeof | void |
do | if | static | while |
# Character set in C -
A character means only one letter, digit or special character used to represent information.
When the characters are combined together , they form 'tokens' which acct as building blocks.
characters-
characters-
- Letters(all alphabets a to z & A to Z).
- Digits (all digits 0 to 9).
- Special characters, ( such as colon
:
, semicolon;
, period.
, underscore_
, ampersand&
etc) - White spaces.
#Escape sequence -
They begin with back slash (\). They are used to introduce a break or space .
They begin with back slash (\). They are used to introduce a break or space .
0 Comments