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
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
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.
Login to add comment