Friday, 22 April 2016

Learning Of Execution Of C Programme


This post helps beginner to learn how to execute c programme.
C is a general-purpose, computer programming language, supporting structured programming.
To execute follow the steps given here:
Write source code in CEditor Window,
Save the source code.
Compile the programme (press alt + F9).
Compiler checks if there is any syntax error, it displaysthe error.
First have to correct the error in source code.
Again compile the programme (press alt + F9).
Now if there is no error then compiler displays the output.
Run the programme (press control + F9).
Window shows you desired Output.
Here is simple example of C program.
#include<stdio.h>
#include<conio.h>
main ()
{
Int a=10;
printf(“Wel come to TCCI- C course.\n”);
printf(“a=%d”, a);
}
Output:
Wel come to TCCI-C course.
a=10;
This programme just display what we have written in printf statement.
You can visit also Bopal C course, Bopal- Ahmedabad
To learn more contact us at 98256 18292.
If you have any query, feel free to ask at tccicoaching@gmail.com

No comments:

Post a Comment