Computer Science, asked by ishitaundhad9, 2 months ago

Explain Write , compile , and execute a c programme​

Answers

Answered by manjumanhas555
3

Answer:

Step 1 : Open turbo C IDE(Integrated Development Environment), click on File and then click on New.

Step 2 : Write the above example as it is.

Step 3 : Click on compile or press Alt+f9 to compile the code.

Step 4 : Click on Run or press Ctrl+f9 to run the code.

Step 5 : Output.

Answered by srinandu2004
0

Compile and Run C Program

To compile and run a C language program, you need a C compiler. To setup a C language compiler in your Computer/laptop, there are two ways:

Download a full fledged IDE like Turbo C or Microsoft Visual C++, which comes along with a C language compiler.

Or, you use any text editor to edit the program files and download the C compiler separately.

Here we have a simple video, explaining how to setup Tubrbo C/C++ for writing, compiling and running C programs.

Using an IDE - Turbo C

We will recommend you to use Turbo C IDE, oldest IDE for c programming. It is freely available over internet and is good for a beginner.

Step 1 : Open turbo C IDE(Integrated Development Environment), click on File and then click on New

first c program with turbo C

Step 2 : Write the above example as it is

Write a C program with turbo C

Step 3 : Click on compile or press Alt+f9 to compile the code

Compiling a C program with turbo C

Step 4 : Click on Run or press Ctrl+f9 to run the code

Running a C program with turbo C

Step 5 : Output

Output of C program with turbo C

Similar questions