Simple C Program of the Given Algorithms
We will learn how to write, compile and run the c program.
First open the C console and write the following code:
How to compile and run the c program
There are Two ways to compile and run the c program, First one is that menu and by shortcut Key .
1) By menu
Now Go to compile menu then Click on compile sub menu to compile the c program.
Then Go to run menu then Click on run sub menu to run the c program.
2) By shortcut
press Ctrl+F9 keys compile and run the program directly.
Hello C Programing Language
Meaning of Code
A) #include <stdio.h> includes the standard input output library functions. The printf() function is defined in stdio.h .
B) int main()-> The main() function is the starting point for program execution. in c language.
C) printf() The printf() function is used to print value on the console screen.
D) return 0 The return 0 statement, returns for successful , and 1 for unsuccessful execution.
Next TopicBasic Input Output Statement