Question: why use clrscr in c?
Answer: clrscr() clears the console screen. It is predefined function in the conio. h file. It clears the output of previously executed program from the the consol.