CJCoding With Joseph
15free / daySign inCreate account
Back to Multiple Choice Quiz

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics

setprecision with fixed

C++ quiz · Question 66
easyStreams

What is the output of the following code?

#include <iostream>
#include <iomanip>
using namespace std;
int main() {
    cout << fixed << setprecision(2) << 3.14159;
}