Introduction

    1100653 VIEW 7 0

C is a general-purpose  and high-level programming language that is ideal for developing  portable applications or firmware. Originally intended for writing system software and many UNIX-based operating systems are written in C. C was developed at Bell Labs by Dennis Ritchie for the Unix Operating System in the at AT & T’s Bell Laboratories of USA in 1972.

There are several reasons for leanring C are following:

  • I believe that nobody can learn C++ or Java directly. This is because while learning these languages you have things like classes, objects, inheritance, polymorphism, templates, exception handling, references, etc.
  • Major parts of popular operating systems like Windows, UNIX, Linux is still written in C. This is because even today when it comes to performance (speed of execution) nothing beats C, , if one is to extend the operating system to work with new devices one needs to write device driver programs. These programs are exclusively written in C.
  • Mobile devices like cellular phones and palmtops are becoming increasingly popular. Also, common consumer devices like microwave oven, washing machines and digital cameras are getting smarter by the day. This smartness comes from a microprocessor.
  • You must have seen several professional 3D computer games where the user navigates some object, like say a spaceship and fires bullets at the invaders.
  • At times one is required to very closely interact with the hardware devices. Since C provides several language elements that make this interaction feasible without compromising the performance it is the preferred choice of the programmer.

 

Learning C is Similer as rules out English as the language of communication with computer.

The C Character Set: Any alphabet, digit or special symbol is set of characters which is used to represent information.
 
 Alphabets

A, B, ….., Y, Z         a, b, ……, y, z

 Digits  0, 1, 2, 3, 4, 5, 6, 7, 8, 9
 Special symbols     ~ ‘ ! @ # % ^ & * ( ) _ - + = | \ { } [ ] : ; " ' < > , . ? /      



Referance
Many UNIX-based operating systems are written in C.