Clrscr() in C by R4R Team

-clrscr() function refers as clear screen used to clear the console screen in C program.
conio.h Heador file provide this function.

Syntax:
clrscr();


program-

#include< stdio.h>
#include
int main()
{
printf("Before clrscr");
clrcsr();
printf("After clrscr");
}


output-

After clrcsr

-In this program, we print two statement but second statement are printed after the clrscr() function so that in output we only see a second statement.




Leave a Comment:
Search
Categories
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!