C - Basic Syntax
C-Basic syntax
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
- printf
- (
- “hello world \n”
- )
- ;
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 .
C - Basic Syntax |
0 Comments:
Post a Comment