Originated From
AOL Search

What are the step by step instillations and proceedures to create a C program?

What are the step by step instillations and proceedures to create a C program?

Liked this question? Tell your friends about it


1. first you need a compiler. you can find a free c compiler on the web. notice that it depends on your operation system.

2. write a program in any text editor.

example program:

#include <stdio.h>
int main()
    printf("Hello world\n");
    return 0;

3. save the program with .c extension. let's assume that it is called hello.c.

4. compile the program. for example, using gcc compiler:

gcc hello.c -o hello

it will create a new executable "hello"

5. run the new executable:


you should get the output on the screen:

Hello world


good luck!

Related Questions

Other people asked questions on similar topics, check out the answers they received:

Asked: 'how many millionairs were created in the 1950 ...

'how many millionairs were created in the 1950's'?

Asked: How to create a personal home page

How to create a personal home page

Asked: How tp unistall program 24x7

how tp unistall program 24x7

More Questions

HI, I have very limited coding experience does anyone know good resources

You can check out w3schools which is one of the largest online coding resources on the Internet. They make learning codes easy; plus, they offer certified tests. If you're planning on creating a website, you can also ask help from professional design companies like wearinteractive.com. They have ...

How to Create a Successful Website?

With regards to successful website design and development, I recommend visiting http://www.techriver.net/ . You can get a lot of free information there. They also provide Free Service Request

Who created marshmallows

Real marshmallow goes back to ancient Egypt and was originally created as a medicinal substance made from a plant. The Egyptians discovered it also made a nice sweet. Modern marshmallows are nothing more than sugar and corn syrup and flavorings and contain no real marshmallow at all.

Exopolitics- Gary Mc Kennon Secret Space Program

We have one particularly obnoxious and duplicitous leftist troll on AOL Answers, always trying desperately to make wads of money by selling truly ridiculous political hoaxes. Leftists are notorious liars, but that doesn't meran they aren't severely passionate about their lying and biterness. Cults ...