Console Input Output Operations

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

Answer: clrscr();
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.

This question appeared in Past Papers (6 times)
ETEA 25 Years Past Papers Subject Wise (Solved) (2 times)
KPK Teacher Past Papers SST PST CT TT PET (2 times)
Secondary School Teacher SST Past Papers, Syllabus, Jobs (2 times)
This question appeared in Subjects (1 times)

Install this app on your device for quick access right from your home screen.