Introduction of C

Introduction                                                   
  • C is a programming language developed by Dennis. M. Ritchie at Bell Laboratories for the UNIX Operating System in 1972. 
  • C is one of the most popular programming languages and it maintains its popularity along with Java programming language which is also used by modern software programmers.
Software Requirements 
  • Turbo C++ Or C
  • Click the link below Or Copy the link and download the software
  • https://turboc.codeplex.com 
Installing the C
 
Download the software.

download

Click I Agree for the next step,

Agree

Click Install to continue the process,

Install

Preparing to Install,

Install

Now C has been sucessfully installed.
 
Let us start the simple program in C.
 
Simple Addition programming with C
  1. #include<stdio.h>  
  2.    
  3. int main()  
  4. {  
  5.    int a, b, c;  
  6.    
  7.    printf("Enter two numbers to add\n");  
  8.    scanf("%d%d",&a,&b);  
  9.    
  10.    c = a + b;  
  11.    
  12.    printf("Sum of entered numbers = %d\n",c);  
  13.    
  14.    return 0;  
  15. }  
Explanation 
  • The program is based on adding the two numbers.
  • Then the condition is followed as c=a+b.
Output

Output