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
Wednesday, 30 November 2016
My First Programming Language- C
Introduction
The first question that comes to my mind when I think about Programming is "Why?". Yes, why should I Learn Programming or just say what actually is Programming? Guys there are only two types of people: a User and a Programmer. A User is a person who simply uses the computer, does his work and over, that's it. He is bounded by the limitations of the System, which means he can only perform tasks that the system wants to perform. So basically here the User is not using the computer but the computer is limiting its usage from the user.
On the other hand, a Programmer is someone who understands the working of computer, knows what a computer can do and how to make it perform tasks that a user wants. A Programmer understands the limitations of the system and then tries to overcome the limitations so that a computer can perform all such tasks that the user wants.
Subscribe to:
Posts (Atom)