Why we use clrscr() in the code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Why we use clrscr() in the code?

17th Apr 2020, 5:03 PM
Md. Ashif Ali
Md. Ashif Ali - avatar
2 Answers
0
To clear the console screen.. It is predefined function.. By using this we can clear the data from console... Simply to avoid confusion
17th Apr 2020, 5:09 PM
sarada lakshmi
sarada lakshmi - avatar
0
It will clear the screen. It means it will clear the output of the previous program so you don't see old program output with new program output
17th Apr 2020, 5:11 PM
HARITEJA KODURI
HARITEJA KODURI - avatar