First C Program
Firstly open Code Blocks then go to File---> New---->Ctrl+s
To write the first c program :
#include <stdio.h>
int main()
{
printf("Hello, World!");
return 0;
}
- #include <stdio.h> means by the standard input output of library functions. The printf() function is in stdio.h
- int main(): The main() function is the entry point of every program run execution in c language.
- printf(): The printf() function for print data on the program.
- The 0 value for successful execution and 1 value for unsuccessful execution.
Then Clik in keyboard F9 Button or build and run.
For more visit https://programmingknowledgesite.blogspot.com/2020/05/c-language.html
0 comments:
Post a Comment