History of C
language
History of C language
C programming is a general-purpose, procedural, imperative
computer programming language.
It was developed in 1972 by Dennis M. Ritchie at the Bell Telephone
Laboratories to develop the UNIX operating system.
C is the most widely used computer language.
Why to Learn C Programming?
C programming language is a MUST for students and working
professionals to become a great Software Engineer specially
when they are working in Software Development Domain.
Following are the key advantages of learning C Programming:
Easy to learn
Structured language
It produces efficient programs
It can handle low-level activities
It can be compiled on a variety of computer platforms
Facts about C
C was invented to write an operating system called UNIX.
C is a successor of B language which was introduced around the early
1970s.
The language was formalized in 1988 by the American National Standard
Institute (ANSI).
The UNIX OS was totally written in C.
Today C is the most widely used and popular System Programming
Language.
Most of the state-of-the-art software have been implemented using C.
Today's most popular Linux OS and RDBMS MySQL have been written in C.
Structure of a C Program
Hello World Example
A C program basically consists of the following parts −
Preprocessor Commands
Functions
Variables
Statements & Expressions
Comments
#include <stdio.h>
int main()
{
/* my first program in C */
printf("Hello, World! \n");
return 0;
}
Thank you