Discovering C !

As we all know that C is mother of all Computer Languages. You can Create another C language using C language itself. The sea of C is too massive. I just want to swim out this sea of C. Its not that easy but I will keep trying.

My Photo
Name:
Location: Nagpur, Maharashtra, India

Just another Perl Programmer, Linux Lover and a Curious User...and almost always self motivated, passionately helpful, travel enthusiast, workaholic, mostly busy, bad photographer, good teacher, somewhat romantic, creative writer, not so compulsive friend, quick learner, silent poet, determined survivor and an insatiable dreamer.

Wednesday, February 15, 2006

See my C!

The Sea of C!
C
needs no introduction. No matter you do what in computers or IT field, you should know C Language. In fact C is the building block of all other Languages. If you know C, you would be in a position to grasp all other Languages very easily. Also all major applications are designed in C. Take for instance entire Linux is designed and programmed using C Language. Same is the case with Oracle. In fact older versions of Windows were also programmed in C. In every interview you would be asked questions on C Language. There is no substitute and rescue for C. The bottom line is you need to know C. The sea of C is very big. Earlier you learn to swim in this sea, better it gets for you.


History of C!

C
is a programming language that was developed at AT & T’s Bell Laboratories of USA in 1972. It was developed by Denis Ritchie. In late seventies C began to replace other familiar languages of that time like ALGOL, PL/I, FORTRAN etc and even new languages of that time like PASCAL, APL etc. C has continued its domination even today.


Why you should learn C?

  1. To understand other higher programming languages much easily like C, C++, VC++, C#, Shell Scripting, Java etc.
  2. To go into the dept of how an operating system and various applications works you need to know C because all major operating systems like Unix, Linux, Older versions of Windows etc are being written in C. Applications like Oracle are also being designed in C.
  3. Most of the device drivers are written in C.
  4. It is always an advantage to develop a Game in C, because for games it’s the speed with which your game runs counts. And when it comes to speed, nothing beats C.
  5. Speed and efficiency are also very important for gadgets like Mobiles, PDAs etc because they have to work fast and that too in limited amount memory available. Hence Programmers love to write the Operating system pertaining to these devices in C.


The C Character Set:
A
lphabets: A, B, C………………….Z
a , b, c , …………………z
Digits: 1, 2 , 3,……………………….10
Special Symbols: ~ ` ! @ # $ % ^ & * ( ) _ - + = | \ { } [ ] : ; “ ‘ < > , . ? /

Constants, Variables and Keywords:
Constant: A constant is an entity that doesn’t change.
Variable: It is an entity that may change.

Rules for Constructing Integer Constants

1. An integer constant must at least contain on digit.

2. It must not have a decimal point.

3. It can be either possitive or negetive.

4. If no sign precedes an integer constant it is assumed to be possitive.

5. No commas or blank spaces are allowed within an integer constant.

6. The allowable range for integer constants is -32768 to 32767.


0 Comments:

Post a Comment

<< Home