Adding lines and updation (#25081)

This commit is contained in:
arjundixit98
2018-11-06 19:35:57 +05:30
committed by Aditya
parent 45a27b2497
commit 4f37069835

View File

@ -4,6 +4,7 @@ title: Hello World C
## Hello World
Probably the first line of text that everyone prints out on the console when one begins his/her remarkable jouney of this endless programming world.
To write on console you can use the function `printf()` contained in the library `include <stdio.h>`
```C
@ -12,7 +13,7 @@ To write on console you can use the function `printf()` contained in the library
int main(void)
{
printf("hello, world\n"); //lines starting with this are called comments..
printf("Hello World!\n"); //lines starting with this are called comments..
return 0;
}
@ -28,7 +29,7 @@ To write on console you can use the function `printf()` contained in the library
## Output:
```
hello, world
>Hello World!
```
#### More Information