C Plus Plus Quiz
7 questions · no time limit
0:00
INPUT AND OUTPUT
Question 1 of 7
No time limit
Current
Answered
Flagged
Not seen
Assume the required headers are included. In each answer,
· represents one space. What does the following code print?
std::cout << std::setfill('.') << std::left << std::setw(6) << "cat"
<< '|' << std::right << std::setw(5) << 12 << '|' << 7; YOUR PROGRESS
7
QUESTIONS
Ready when you are
Answer in any order. Your progress shows here as you go.
QUESTIONS
KEYBOARD
Pick an answer ABCD
Next question ↵→
Previous ←
Flag for review F
Answers save as you go · flagged questions come back at the end