Hello World [C]
Hey there coders welcome to cyber assassin's. I am Agent 47 from cyber assassin's
the post is about our first c code
#include <stdio.h>
int main()
{
printf("Hello world");
return 0;
}
it is the first code for a beginner. In this code you have written #include <stdio.h> this is is a statement which is used for all codes for the language C. In the next line you have written int main() this is for the main code starts from the brackets. and the next line you have given { this is called indemnity
printf("the statement");
you have to give it because it enlarges the beauty of this code. the printf and the f is for function so the full
meaning of printf means the function for printing. and the return 0; it is for the code is ended here.
so this is the code. Hope you will understand it.
there is a question for all of you that write a code that's output will be "my name is X"
0 comments:
Post a Comment