Tagged: understand c program

Introduction to C programming 97

Introduction to C Programming Language

C programming is a language developed by AT & T’s Bell Laboratories of USA in 1972. It was designed and written by a man named Dennis Ritchie. C language is reliable, simple and easy to use. It has survived for more than 3 decades. This language is a base to learn different programming language. If you want to learn C++ or JAVA, without the knowledge of C, it becomes very difficult to learn these programming languages. Many major components of popular operating systems like Windows, UNIX, LINUX is still written in C. Nothing beats C language in terms of speed of...

Learn C - understanding c programming 47

Learn C with help of an example

In this article, we will learn C by going through the below program and understanding each line of C code in detail. 1) /* 2) Program: 3) Addition of two numbers 4) */ 5) //Here it starts 6) #include<stdio.h> 7) #include<conio.h> 8) Void main() 9) { 10) int a, b, c; 11) /*Assign the values to the variable a and b */ 12) a = 5; 13) b = 4; 14) /*Perform addition of a and b */ 15) c = a + b; 16) printf(“\nAddition of a and b is %d”, c); 17) } Let us learn C by...