Console Input Output Operations
If you want to clear previous screen output while running a C/C++ program, which function will you use?
Answer: clrscr();
Explanation
clrscr() is a function used to clear the console screen in C/C++ (usually with conio.h library).
It helps to remove previous output before displaying new information on the screen.
This question appeared in
Past Papers (6 times)
ETEA 25 Years Past Papers Subject Wise (Solved) (2 times)
KPK Teacher Past Papers SST PST CT TT PET (2 times)
Secondary School Teacher SST Past Papers, Syllabus, Jobs (2 times)
This question appeared in
Subjects (1 times)
COMPUTER (1 times)
Related MCQs
- Which of the following functions is used to display output on screen?
- In BASIC programming, _____ command is used to clear screen.
- the output received on the display screen or in the audio or video form is called-------?
- Which is not the function of "Edit clear command"?
- The getche() function reads a character from the keyboard and ____ it on the screen.
- A "C" program consists of function/functions:
- The basic function performed by a computer is _________ of a program.
- Which function is used to get values into variables from the keyboard during the execution of a program?
- In Microsoft Word, when the user is reading a document on the screen and want to hide all other screen elements we choose:
- A company has a cost function C(Q) = 2 Q^2 + 10Q + 50. What is the marginal cost of producing the 5the one of output?