If you want to clear previous screen output while running a C/C++ program, which function will you use?
- clrscr();
- clear_screen();
- scanf();
- None of these
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.
Related MCQs
وی ڈی یو کا مطلب کیا ہے؟
- Very Display Unit
- Virtual Display Uniform
- Visual Display Unit
- Virtual Detection Unit
اس سوال کو وضاحت کے ساتھ پڑھیں
لسپ پروگرامنگ زبان کس نے ایجاد کی؟
- James Gosling
- Dennis Ritchie
- John McCarthy
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
لفظ ویبلاگ کس نے متعارف کروایا جس سے بلاگ کا لفظ نکلا؟
- Justin Hall
- Jorn Barger
- Bill Gates
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
انٹرنیٹ پر فائلوں کی منتقلی کے لئے کون سا پروٹوکول استعمال کیا جاتا ہے؟
- FTP
- DNS
- IP
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ایچ ٹی ٹی پی کے لیے ڈیفالٹ پورٹ کون سا ہے؟
- 20
- 21
- 80
- 443