Why clrscr is used after variable declaration?



Why clrscr is used after variable declaration?..

Answer / Manoj Verma

In C programming, the 'clrscr()' function (usually defined in conio.h or graphics.h) is used to clear the console screen after variable declarations or other output operations, making it easier to view subsequent outputs.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

write a program of palindrome(madam=madam) using pointer?

5 Answers   L&T,


What is the difference between formatted&unformatted i/o functions?

1 Answers  


How can you call a function, given its name as a string?

1 Answers  


Why pointers are used?

1 Answers  


what is the flow of execution in cprogram? ex:printf();,scanf();

2 Answers  


Why is c used in embedded systems?

1 Answers  


What do you mean by team??

5 Answers   Student,


Explain how can you restore a redirected standard stream?

1 Answers  


What does != Mean in c?

1 Answers  


What are the application of c?

1 Answers  


Explain what is wrong with this program statement? Void = 10;

1 Answers  


what is the output of the following program? #include<stdio.h> void main() { int x=4,y=3,z; z=x-- -y; printf("\n%d %d %d",x,y,z); }

14 Answers  


Categories