Tokens in C
Character Set of C The C Character Set Character set is set of valid characters that a language can recognise. A character represents any letter, digit, or any other sign that can be used in a program. C ategory Character Set Lowercase & Uppercase Letters a-z, A to Z Digits 0-9 Special Characters ,.;:`?!&^*-+<>()|\~-$?[]()%#=@ White Spaces Tab, space, newline Tokens In C A token is the smallest element of a program that is meaningful to the compiler. Tokens can be classified as follows: Keywords Identifiers Constants Strings Special Symbols Operators Keyword Keywords are pre-defined or reserved words in a programming language. Each keyword is meant to perform a specific function in a program. Since keywords are referred names for a compiler, they can’t be used as variable names because by doing so, we are trying to assign a new meaning to the keyword which is not allowed. You cannot redefine keywords. C language supports 32 keywords which are given below: auto else long