Posts

Showing posts from June, 2018

C - Basic Syntax

                                                    C - Basic Syntax so i have already  seen the basic structure of a C program, so it will be easy to understand other basic building blocks of the C programming language its  will be easy to understand.                                                  TOKENS IN C A  programming token  is the basic component of source code .  C tokens   are the basic buildings blocks in C language which are constructed together to write a C program. For example, the following C statement consists of SIX  tokens C tokens are of six types. They are, Keywords               (eg: int, while), Identifiers              (eg: main, total), Constants              (eg: 10, 20), Strings                    (eg: “total”, “hello”), Special symbols  (eg: (), {}), Operators              (eg: +, /,-,*) Semicolons In a C program, the semicolon is a statement terminator. That is, each individual statement must be ended with a semicolon. It indic