Wednesday, 20 December 2017

Basic concepts of c lanuage

C is a general-purpose high level language that was originally developed by Dennis Ritchi for the Unix operating system.
The Unix operating system and virtually all Unix applications are written in the C language.
 C has now become a widely used professional language for various reasons.

1)Easy to learn.

2)Structured language.

3)It produces efficient programs.

4)It can handle low-level activities.

5)It can be compiled on a variety of computers.

About C's facts

1)C was invented to write an operating system called UNIX.

2)C is a successor of B language which was introduced around 1970.

3)The language was formalized in 1988 by the American National Standard Institue (ANSI).

4)By 1973 UNIX OS almost totally written in C.

5)Today C is the most widely used System Programming Language.

6)Most of the state of the art software have been implemented using C

Why C language is used...?

C was initially used for system development work, in particular the programs that make-up the operating system.
 C was adoped 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
Text Editors
Network Drivers
Data Bases
Language Interpreters
C Program File
All the C programs are written into text files with extension ".c" for example hello.c. You can use "turbo c" editor to write your C program into a file.

C Compilers
When you write any program in C language then to run that program you need to compile that program using a C Compiler which
converts your program into a language understandable by a computer. This is called machine language (ie. binary format).
 So before proceeding, make sure you have C Compiler available at your computer. It comes alongwith all flavors of Unix and Linux.
If you don't have C compiler installed at your computer then you can use below given link to download a GNU C Compiler and use it.

No comments:

Post a Comment