-->

Friday, July 5, 2019

Datatype in C




Basic syntax

Tokens in C

Every individual parts are known  as tokens ,
Token is a keyword, an identifires , constant ,symbol ,etc.

printf (“ hello world \n”); /* five tokens in this statement */

tokens are

  1. printf
  2. (
  3. “hello world \n”
  4. )
  5. ;


Semicolon;

It is a statement terminator , it shows the end of one logical entity.

Comments;

It is used for describing the block or statements.


Identifiers;

It is name of variables, function, or any other user defined
Item.

Keywords;

  • ·         Keywords are those words whose meaning is already defined by Compiler.
  • ·         Cannot be used as Variable Name.
  • ·         There are 32 Keywords in C.
  • ·         C Keywords are also called as Reserved words .

       < previous page                                                                             Next page >



    
                                                                                                         

0 Comments:

Post a Comment