Problem eeducation
User Hiya123
Submission Time 2023-11-15 11:09:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eeducation.cpp: In function ‘int main()’:
eeducation.cpp:7:13: error: expected initializer before ‘.’ token
7 | int a[n]. n;
| ^
eeducation.cpp:8:36: error: ‘a’ was not declared in this scope
8 | for(int i= 0; i<n; i++) cin >> a[i];
| ^
eeducation.cpp:11:16: error: ‘b’ was not declared in this scope
11 | cin >> b;
| ^
eeducation.cpp:14:14: error: ‘a’ was not declared in this scope
14 | reverse (a, a+n);
| ^