Problem hello
User superG
Submission Time 2025-06-28 17:23:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hello.cpp: In function ‘int main()’:
hello.cpp:11:18: error: invalid operands of types ‘const char [6]’ and ‘const char [2]’ to binary ‘operator+’
11 | cout << "Hello" + " " + name + "!";
| ~~~~~~~ ^ ~~~
| | |
| | const char [2]
| const char [6]