Monday, 12 December 2016
C Language Syntax Rules
C language syntax specify rules for sequence of characters to be written in C language. The rule specify how character sequence will be grouped together to form tokens. A smallest individual unit in c program is known as C Tokens. Tokens are either keyword, identifier, constant, variable or any symbol which has some meaning in C language. A C program can also be called as collection of various tokens.
Saturday, 3 December 2016
C - Program Structure
Before we study the basic building blocks of the C programming language,
let us look at a bare minimum C program structure so that we can take it as a
reference in the upcoming chapters.
A C
program basically consists of the following parts −
- Preprocessor
Commands
- Functions
- Variables
- Statements
& Expressions
- Comments
Subscribe to:
Posts (Atom)