Hello all now today blog is continuation of my first blog anybody cannot read the part 1 blog please read that and next continue to read this blog. Then only you understand all. Because I give some introduction of c programming in part 1.
In this part 2 I'm tell about sample program and easy way to learn simple program.
After that we want to know about the software of c language it's an turbo c++ edition or application software,Borland c and ANSI c is an visual communication.
How to open c ,compile and run the c window here command window c:/ program d and make directory md create new folder and cd open folder and save and type the codings in c window.use the key to compile the program alt key and function 9 key,and use the key to run the program control key and function 9 key.
What is a compile?
Here compile find out the error in our program coding that's called the compile.and also this compile option always visible in c programming software.
What is a run?
Here after the compilation the program there is no we went run the program for output.this run option also always visible in c programming software.
How to write and print a some words in c programming language?
#include <Stdio.h> #include<conio.h>. Void main()
{
Clrscr();
Printf("candlemonk")
getch();
}
Here output is: candlemonk.
The output screen will be print this.
There are using header file print the letter or word this symbol is must in ; this c language because it's semicolon terminate that line and go to and perform with another line.
How to addition , subtraction and division value in simple program let see here.
Also using header file void main to give a program to print value a=6 and b=2 for add c=a+b then get this value
Output is A=6
B= 2
C=8
Here printing the addition values in output in this output window this are simple and sample coding for addition , subtraction,and division it's all print the value here int is an integer a,b,c it all variable declaration and store the values in this a,b,c.it is a simple and sample program c language.
Hope all of you understand this easy concept..
To be continued part 3 c programming