Back to Multiple Choice Quiz
setfill Output
C++ quiz · Question 65What is the output of the following code?
#include <iostream>
#include <iomanip>
using namespace std;
int main() {
cout << setfill('*') << setw(6) << 42;
}