You are taking quiz cppquiz.org/q/zp24y. After 0 of 10 questions, you have 0.00 points.

Question #178 Difficulty: 3

According to the C++17 standard, what is the output of this program?

    #include <iostream>

int main() {
 int a = 5,b = 2;
 std::cout << a+++++b;
}

Hint:

According to the maximal munch principle, the lexer will take the longest sequence of characters to produce the next token.

Answer:

Mode : Quiz

If you want to quit the current quiz and go back to training mode, click here.