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