Header Ads

#

c languages tokens |c program to identify keywords and identifiers | tokens definitions

             c program to identify keywords and identifiers | tokens definitions                  

C language tokens definitions

In C programs, each word and punctuation is referred to as a tokenC Tokens are the smallest building block or smallest unit of a C program. The compiler breaks a program into the smallest possible units and proceeds to the various stages of the compilation, which is called token.

 c languages tokens definitions and types
c languages tokens definitions and types

There are five types of C language tokens in C language

  1.    Keywords
  2.    Identifiers
  3.    Constant
  4.    Operators
  5.    Special symbol

   Keywords

In C language keywords are these words has already known by compiler.

Identifier

In C language identifier identifies the error and all program codes in coding.

Constant

Constant in C language are referred to fixed value.

Operator

C language supported a rich set of operations. Operators symbol that tells the computer to perform certain mathematical and logical operations.

Special symbol

There are many special symbols in C language that's known as  less than, Colon, semicolon, currency etc.

summery

Friends I hope this post help you in knowing what are C language tokens and their functions. You can get more large information about tokens in coming new posts. Let's follow our blog and support us.

tags:- operator,coding,knowledge,c language tokens,mathematical

                                               Thanks for visiting
                                               Coding knowledge 


No comments:

Powered by Blogger.