| Problem | exam |
|---|---|
| User | 90Dream09 |
| Submission Time | 2026-01-27 22:43:53 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:8:8: error: expected identifier before numeric constant
8 | char[11] N = "Hello World";
| ^~
exam.cpp:8:8: error: expected ‘]’ before numeric constant
8 | char[11] N = "Hello World";
| ^~
| ]
exam.cpp:8:7: error: structured binding declaration cannot have type ‘char’
8 | char[11] N = "Hello World";
| ^
exam.cpp:8:7: note: type must be cv-qualified ‘auto’ or reference to cv-qualified ‘auto’
exam.cpp:8:7: error: empty structured binding declaration
exam.cpp:8:12: error: expected initializer before ‘N’
8 | char[11] N = "Hello World";
| ^
exam.cpp:9:11: error: ‘N’ was not declared in this scope
9 | cout << N;
| ^