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 ...
Published on June 15, 2022 08:15