Why do we use clrscr() is it necessary? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why do we use clrscr() is it necessary?

27th Dec 2016, 10:29 AM
Abhishek
Abhishek - avatar
4 Answers
+ 2
not mandatory, it is generally used in c program developed in Turbo C compiler, it clears the screen i.e. it clears the output of previous execution/ commands. try to execute program without clrscr() you will notice the change
27th Dec 2016, 10:50 AM
Ravi Kumar
Ravi Kumar - avatar
+ 1
Tnx bro
27th Dec 2016, 11:04 AM
Abhishek
Abhishek - avatar
0
It is not necessary to use clrscr()function as it clears the does shell to view the result of your program
1st Jan 2017, 6:49 PM
shiv kumar
shiv kumar - avatar
0
It is not necessary to use clrscr()function as it clears the does shell to view the result of your program
1st Jan 2017, 6:49 PM
shiv kumar
shiv kumar - avatar