Showing posts with label clrscr. Show all posts
Showing posts with label clrscr. Show all posts

Friday, December 18, 2020

,

Use of clrscr function in c with example

 clrscr function in C programming is use to clear the screen and move the arrow upper left-hand corner of your computer screen.this function work only for the GCC compiler otherwise use clear/cls command. Example program for clrscr function in c #include<stdio.h> #include<conio.h> int main() { printf("Press any key to clear the screen.\n"); getch(); clrscr(); printf("This...