Problem addition
User Khai
Submission Time 2024-02-02 14:17:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:10:6: error: redeclaration of ‘int c’
10 | int c = int a + int b;
| ^
addition.cpp:9:6: note: ‘int c’ previously declared here
9 | int c;
| ^
addition.cpp:10:10: error: expected primary-expression before ‘int’
10 | int c = int a + int b;
| ^~~