clrscr() :
clrscr() function is a pre-defined function in the header file conio.h(console input output). It is used to clear the data from the console screen. This function only works in “Turbo c++” compiler only. Using of clrscr() function in C is always optional but it should be place after variable or function declaration only.