BASIC PRINTF STATEMENT
In this tutorial we are going to see how to print a
statement.using this we can also build resume and write a story too. Let us see
the program.
#include
<stdio.h>
int
main()
{
printf("Welcome to R2C
Technologies");
return 0;
}
v
All
valid C programs must contain the main() function. The code execution
begins from the start of the main() function.
v The printf is a library function to send formatted
output to the screen. The function prints the string inside quotations.
v To use printf in our program, we need to include
stdio.h header file using the #include
<stdio.h>statement.
v
The
return 0; statement inside the main() function is the "Exit status"
of the program.