If you want to clear previous screen output while running a C/C++ program, which function will you use?
If you want to clear previous screen output while running a C/C++ program, which function will you use?
Explanation
clrscr() is a function used to clear the console screen in C/C++ (usually with conio.h library).
It helps to remove previous output before displaying new information on the screen.