Clear Console in C

During the execution of the program, the developer needs to clear the screen or remove the previous output for new output. To clear the console screen in the c language many methods are available.

Here are some of the following :

Clrscr() functionSystem(“clear”) functionSystem(“cls”) functionImportant Note :

This function depends on the type of operating system, compiler, and other factors.
For example: If you try to compile the program using the clrscr() function in a modern compiler then ...

 •  0 comments  •  flag
Share on Twitter
Published on June 15, 2022 08:15
No comments have been added yet.