Program:-
#include <stdio.h>
int main()
{
printf("Hello world\n");
return 0;
}
Output: -
Hello World
-----------------------------------------------------
"stdio.h" header file contains the declaration of printf function.
printf:- Library Function used to display text on the screen
"\n" :- used to placed the cursor at the beginning next line
#include <stdio.h>
int main()
{
printf("Hello world\n");
return 0;
}
Output: -
Hello World
-----------------------------------------------------
"stdio.h" header file contains the declaration of printf function.
printf:- Library Function used to display text on the screen
"\n" :- used to placed the cursor at the beginning next line
0 Comments:
Post a Comment