In this articles we are going to learn How to print anything in C program ?, but at beginner level you may remember just one thing if you want print anything in C program you may just use printf( ) function.
Format to Print anything in C
#include<stdio.h>
#include<conio.h>
void main( )
{ clrscr( );
printf("What you want print");
getch( );
}
Write C program to print your Name
#include<stdio.h>
#include<conio.h>
void main( )
{
clrscr( );
printf("Aceinstudy");
getch( );
}
Write C program to print " Hello World"
#include<stdio.h>
#include<conio.h>
void main( )
{
clrscr( );
printf("Hello World");
getch( );
}
