Chapter-wise Practice Bank

Computer Science — Questions & Answers

Self-test with interactive MCQs, fill in the blanks, and in-depth short/long answers. Click Show Answer on any question to reveal its step-by-step solution.

1 Published Questions
Question Category Breakdown
  • MCQs: 1
  • Fill in the Blanks: 0
  • Short Answers: 0
  • Long Answers: 0
Filter Questions by Syllabus
Active Filters: Subject: Computer Science Book: Computer Practical Clear All
Jump to: MCQs 1

1. Multiple Choice Questions (MCQs) 1

Click an option or Show Answer to see solutions
MCQ 1 +1.00 Mark Medium Class 11 • Programming in C++
In C++, which header file must be included to use the setw() stream manipulator?
A stdio.h
B iostream.h
C iomanip.h
D conio.h
Correct Answer Option C: iomanip.h
Explanation:
setw() is a stream manipulator declared in <iomanip.h> used for formatted field width specification.

We use essential cookies to maintain secure sessions and prevent CSRF attacks. With your consent, we and our authorized partner (Google AdSense) also use cookies to serve relevant educational advertisements and evaluate traffic. Learn more in our Cookie Policy and Privacy Policy.