Clear Screen without clrscr() function call

#include<stdio.h>
void clearmyscreen();
void main()
{
printf("Hello");
getch();
clearmyscreen();
printf("World");
getch();
}

void clearmyscreen()
{
system("cls");
}

   

Comments

Popular posts from this blog

Write a Program to Add two 3x3 Matrix using C

C program for Unit Conversion

Write a Program to Add two 5x5 Matrix using C