0_0_25737486_24058.cpp: In function 'int main()':
0_0_25737486_24058.cpp:9:10: error: expected unqualified-id before '=' token
for(int =0;i<n;i++)
^
0_0_25737486_24058.cpp:9:10: error: expected ';' before '=' token
0_0_25737486_24058.cpp:9:10: error: expected primary-expression before '=' token
0_0_25737486_24058.cpp:9:13: error: 'i' was not declared in this scope
for(int =0;i<n;i++)
^
0_0_25737486_24058.cpp:9:16: error: expected ')' before ';' token
for(int =0;i<n;i++)
^
0_0_25737486_24058.cpp:9:17: error: 'i' was not declared in this scope
for(int =0;i<n;i++)
^
0_0_25737486_24058.cpp:13:14: error: expected ';' before 'endl'
cout<<a[n-1]endl;
^
|