saving . . . saved C PROGRAM has been deleted. C PROGRAM has been hidden .
C PROGRAM
Title
Question
HOW TO WRITE A PROGRAM

C-and-Cpp First-C-Program 11-12 min 50-60 sec 10-03-16, 11:09 a.m. sureshkundlas03@gmail.com

Answers:

Pls refer to the C/CPP series on http://spoken-tutorial.org/tutorial-search/?search_foss=C+and+Cpp&search_language=English to know how to write a C program.
You can also choose other languages like Hindi, Marathi, Gujarati, Assamese, Bengali, Tamil, etc.... to learn C/CPP from the same website.

Rgds,
Nancy Varkey
11-03-16, 1:21 a.m. nancy


To write a program, follow the steps:
1. Open the terminal on your system if using Ubuntu by pressing Ctrl+Alt+T.
2. Get the editor using the vim command.
3. Start the program using a single line comment(//). Double slash(//) is used as a single line comment. Comments are those statements which are not executed while running the program.
4. Start the program using the header files and the necessary requirements.
5. Start the main program. Every program requires a main function since execution of every function starts from the main function.
6. After performing the necessary actions, return the program to close the main function.
28-03-16, 8:34 p.m. sreelakshmi_r


Log-in to answer to this question.