Add role of \n in explanation of the code (#20849)
This commit is contained in:
committed by
Manish Giri
parent
47e5abdf94
commit
8230f82dd1
@ -23,6 +23,7 @@ To write on console you can use the function `printf()` contained in the library
|
|||||||
* If you use printf() function without writing #include <stdio.h>, the program will not be compiled.
|
* If you use printf() function without writing #include <stdio.h>, the program will not be compiled.
|
||||||
* The execution of a C program starts from the main() function.
|
* The execution of a C program starts from the main() function.
|
||||||
* The printf() is a library function to send formatted output to the screen. In this program, the printf() displays Hello, World! text on the screen.
|
* The printf() is a library function to send formatted output to the screen. In this program, the printf() displays Hello, World! text on the screen.
|
||||||
|
* The \n in printf creates a new line for the forthcoming text.
|
||||||
* The return 0; statement is the "Exit status" of the program. In simple terms, program ends with this statement
|
* The return 0; statement is the "Exit status" of the program. In simple terms, program ends with this statement
|
||||||
|
|
||||||
## Output:
|
## Output:
|
||||||
|
Reference in New Issue
Block a user