Wednesday, 8 October 2014

Print output on screen using C programming

void main()
{
     printf("welcome to C programming");
     getch ();
}
printf is a special function to print the data on output screen. In bracket the data you write between the  double quote marks is printed on screen. The statement ends with semicolon. getch() holds the output string till our next any key stroke.

No comments:

Post a Comment