In this example, you will learn how to print the 'Hello World' program in C. This program prints 'Hello World' on the output screen when executed.
#include<stdio.h>
void main() {
// printf() displays the string inside quotation
printf("Hello World!");
}
hello world!
main()
function. printf()
and scanf()
printf()
and scanf()
printf()
function use to send the data to your output screen and scanf()
the function gets data from the keyboard