Problem exam
User Devthethala
Submission Time 2026-06-22 16:21:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:6:11: error: expected initializer before numeric constant
6 | int x 1;
| ^
exam.cpp:7:9: error: ‘x’ was not declared in this scope
7 | if (x = 1){
| ^
exam.cpp:8:13: error: ‘Hello’ was not declared in this scope; did you mean ‘ftello’?
8 | cout >> Hello World;
| ^~~~~
| ftello
exam.cpp:11:8: error: expected ‘;’ before ‘a’
11 | cin a >> b
| ^~
| ;