Sep 7, 2015

Basics for C programming

-C is a general-purpose high level language.
- The Unix operating system and virtually all Unix applications are written in the C language.

- Advantages: 


  1. Easy to learn
  2. Structured language
  3. It produces efficient programs.
  4. It can be compiled on a variety of computers.


-Facts about C:


  1. C was invented to write an operating system called UNIX.
  2. The language was formalized in 1988 by the American National Standard Institute (ANSI).
  3. Today C is the most widely used System Programming Language.

-Why to use C ?

C was initially used for system development work, in particular the programs that make-up the operating system. C was adopted as a system development language because it produces code that runs nearly as fast as code written in assembly language. Some examples of the use of C might be:

Operating Systems
Language Compilers
Assemblers
Text Editors
Language Interpreters

All the C programs are written into text files with extension ".c" for example hello.c.

No comments:

Post a Comment