In C language which function is used to clear the output screen
Answers
Answered by
3
Answer:
To clear the screen in Visual C++, utilize the code: system("CLS"); The standard library header file <stdlib. h> is needed. Note: If you wish to clear the screen after a cout statement, you will need to "flush" the iostream.
Explanation:
please follow me
Answered by
1
Answer:
Functions which are used to clear output screen depend on the compiler, commonly used functions/methods are: Using clrscr() - For TurboC Compiler. Using system("cls") - For TurboC Compiler. Using system("clear") - For gcc/g++ compiler in Linux.
Similar questions