C-token in C-programming language

in programming •  last year  (edited)

Hello!

keyboard-70506_1280.jpg

Let's learn about C-tokens.

C-token is a small or a basic unit of c-program.
One or more characters are grouped in sequence to form meaningful words.

The types of C- tokens, they are :

1] Keywords : Keywords are the words that have special function and purpose in c-language.
Ex- int, float, char, double, switch, for, break, etc.

2] Identifiers : Identifiers are names given to identify variables, functions, array names, etc.
It consist of sequence of one or more letters along with underscore.
Ex- _add, _024, etc.

3] Constants : Constants are values that won't change during execution of a program.
In this there are for different types of constants they are, integer, floating, character and string constant.

4] Operators : Operators are symbols that perform operation between values or variables.
Ex- a+b, 10×5, 7/3, etc.

5] Special Symbols : Special symbols are used in c-program for modify different parts of a program or used for specific reason.
The special symbols are, braces { }, parentheses [ ], brackets ( ).

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE BLURT!
Sort Order:  
  ·  last year  ·  

Re🤬eD

Go go gO


🥓