Contact Us || Privacy Policy || About Us |
|
Simple C Program of the Given AlgorithmsWe 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 programThere are Two ways to compile and run the c program, First one is that menu and by shortcut Key . 1) By menuNow 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 shortcutpress Ctrl+F9 keys compile and run the program directly. Output Hello C Programing Language Meaning of CodeA) #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
|