C Tokens With Types & Example In C Program

Explain C Tokens With Types In C Program, Explain Keyword & Identifier In C 
Get Our Latest Interview Questions: Aptitude, Reasoning, English, GD, HR-PI

C Tokens:  
Smallest individual units in a C program are known as C tokens . 
This is basic buildings blocks in C language which are constructed together to write a C program. 

C Tokens Are: 
1. Keywords 
2. Identifiers  
3. Constant  
4. String
5. Operators.
6. Special Symbols. 
                              
1. Keywords: 
Keywords are those words whose meaning are already defined by C Compiler. 
And it cannot be used as Variable Name. 
Keywords are also called as Reserved words . 
In C there are 32 Keywords. 

Keyword Example
printf, scanf, stdio, int, float, double, string, pointer, for, while;

2. Identifiers: 
In C Program Identifier we create to give a unique name to c program, so we can identify at the time of execution of program.  

Identifier Example: 
when one child born in any family then his/her parents give him name, because without name we can’t identify him or in between lot of people we can’t call him. And some time names are matched with some people so in crowd we call ram and 3 people come with same name so for avoiding this things we need to give unique name. So for justifying we give the name to child so same as in c programming, for identifying variables, function, method, keyword, etc we are giving name that is called identifier.

Expert Review: C Token is one of the most important topic in c language, because c program is totally dependent on these tokens, if you understand theses tokens and there use then you can easily make the program.


 Enter Your Email Id To Get Our Programming, Web Development, Video Tutorial, Job Updates In Mail :

Labels: