Ticker

6/recent/ticker-posts

Tokens and Character set

Basics-

The Basic building blocks in C are known as Tokens.

# Tokens

Image result for tokens in c

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. 
   
autodoubleintstruct
breakelselongswitch
caseenumregistertypedef
constexternreturnunion
charfloatshortunsigned
continueforsignedvolatile
defaultgotosizeofvoid
doifstaticwhile
# 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-

  •  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 .






Post a Comment

0 Comments