Computer Science, asked by vijay37461, 5 months ago

in c language which fuction is used to clear the out put screen ​

Answers

Answered by misty2356
4

In biology, metamerism is the phenomenon of having a linear series of body segments fundamentally similar in structure, though not all such structures are entirely alike in any single life form because some of them perform special functions. In animals, metameric segments are referred to as somites or metameres.

Answered by sakshisakshimrt2004
2

Answer:

Clear Output Screen - When we run a program, previous output or other command prompt/ Linux Terminal command's output appear there. We can clear the output screen using C program.

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

1. Using clrscr() - For TurboC Compiler

clrscr() is a library function declared in conio.h header file. This function clears the output screen.

Consider the following program

#include <stdio.h>

#include <conio.h> /*for clrscr()*/

int main()

{

int num=100;

/*Use after declaration section*/

clrscr(); /*clear output screen*/

printf("value of num: %d\n",num);

return 0;

}

Similar questions