Introduction to C
Learn Basic of C Programming language
What is C Language?
C Language is a general purpose and structured programming language developed by 'Dennis Ritchie' at AT & T's Bell Laboratories in 1972 in USA. It is also called as 'Procedure oriented programming language.'
Features of C Language
The C language has following numerous features as:
- Easy to Learn
- Structure Oriented
- It produces Efficient programs
- It can handle low-level activities
- It can be compiled on a variety of computers
Facts about C
Key historical milestones and facts:
- C was invented to write an operating system called UNIX.
- C is a successor of B language which was introduced around 1970.
- The language was formalized in 1988 by the American National Standard Institute (ANSI).
- By 1973 UNIX OS almost totally written in C.
- Today C is the most widely used System Programming Language.
- Most of the state of the art software have been implemented using C.
Execution of Program
The general process of writing and running a C program:
Any Editor like Notepad, VS Code, etc. to create a C program. This file should be saved with '.c' extension only.
The next step is to compile the program. The code is compiled by using compiler converts executable code to binary code i.e. Object code.
The object code linked to library that are needed for execution. The link is used to link the program with libraries. It creates a file with '.exe' extension.
The final executable file is then run by DOS command prompt or by any other software.