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. int main()
  3. {
  4. int a, b, c;
  5. printf("Enter two numbers to add\n");
  6. scanf("%d%d",&a,&b);
  7. c = a + b;
  8. printf("Sum of entered numbers = %d\n",c);
  9. return 0;
  10. }
Explanation
  • The program is based on adding the two numbers.
  • Then the condition is followed as c=a+b.
Output

Output