If you want to clear previous screen output while running a C/C++ program, which function will you use?

  • AClrscr();
  • BClear_screen();
  • CScanf();
  • DNone of these
Show answerHide answer

Correct answer A

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.