Computer Science, asked by ramanchandi88888, 6 months ago

in c language which function is used to clear the output screen​

Answers

Answered by VidhiManghnani
0

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:

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.

Answered by sakshichoudhary844
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