Skip to main content

Introduction to C

C Language Introduction
  • C is a general-purpose high level language.
  • It is also called as procedural programming language.
  • It was originally developed by Dennis Ritchie between 1969 and 1973.
  • It was mainly developed as a system programming language to write operating system.
  • Many languages like PHP, Java, Javascript have borrowed syntax/features directly or indirectly from C language.
Compiler:
         A compiler which is convert Human language into machine language.When you write any program in C language it need to compile that program using a C Compiler which converts your program into a language which is understandable by a computer. The format of  the machine language is Binary format. So before proceeding, make sure you have C Compiler available at your computer. It comes along with all flavors of Unix and Linux. You can also use online compilers incase you don't have one.


Writing First Program:


#include <stdio.h>
main(void)
{
    printf("Hello World");
}

Output:

Hello World                                                                                                                                              

Explanation as follows in the next page.

Comments