Multiple choice technology programming languages

setprecision requires the header file

  1. stdlib.h

  2. iomanip.h

  3. console.h

  4. conio.h

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The setprecision manipulator is part of formatted input/output operations and requires including the iomanip header file in C++.