You are taking quiz cppquiz.org/q/sxht8. After 0 of 10 questions, you have 0.00 points.
Question #403 Difficulty:
According to the C++23 standard, what is the output of this program?
#include <cstdlib>
#include <iostream>
int main()
{
const auto output = "abs of -8" + std::abs(-8);
std::cout << output;
}
Hint:
A string literal is an array of const char, and an array can be converted to a pointer.
Mode : Quiz
If you want to quit the current quiz and go back to training mode, click here.