answersLogoWhite

0

How do you write simple C program?

User Avatar

Anonymous

8y ago
Updated: 8/20/2019

The same way we do it in every other programming language: we start with the canonical "hello world" application:

#include<stdio.h>

int main (void) {

printf ("Hello world!\n");

return 0;

}

Every other C program is merely an extension of the hello world application.

User Avatar

Wiki User

8y ago

What else can I help you with?

Related Questions

Write a c program for false position method?

Write a simple program in finding roots x^3-6x^2+11x-6.1=0


How do you write a C program to find the Simple Interest?

Reference:cprogramming-bd.com/c_page1.aspx#simpleinterest


You want to write a simple without using pointer or array c program which will print greatest number when you give 20 number?

i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?


Write a c program for creating a virus?

a c program for creat a virus


Where do we write main function in a c program?

Into the source program.


write simple program to solve the following problems : add the following numbers = 10,222,99,999,74,532?

A+(B+C**3) (A-(+D+B/A+B)


How do you solve the c programme of tree of hanoi?

It is the "Tower of Hanoi" and it is a puzzle. When you can solve the puzzle you can write the program, when you have learned enough to write simple programs. You do want to be able to write computer programs, don't you?


Write a c program to find Volume and surface area of cube?

Write a c program to compute the surface area and volume of a cube


How do you write a c program to analysis a circuit?

There is no need to write a C program for circuit analysis; there are lots of packages out there that already do that (for example, Spice).


How do you write a C program to check whether the number is odd or even Ps-using DEV complier?

To write a C program to determine if something is odd or even you need to be a programmer. To write a program in C is complicate and only done by programmers.


A program that allows users to write simple computer programs One of many computer programming languages?

try Just Basic or DEV-C++


How do you write socket program in c?

For first find an example program.