foo.cc:4:7: error: expected identifier before numeric constant
4 | char [100005];
| ^~~~~~
foo.cc:4:7: error: expected ‘]’ before numeric constant
4 | char [100005];
| ^~~~~~
| ]
foo.cc:4:6: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
4 | char [100005];
| ^
foo.cc:4:6: error: structured binding declaration cannot have type ‘char’
foo.cc:4:6: note: type must be cv-qualified ‘auto’ or reference to cv-qualified ‘auto’
foo.cc:4:6: error: empty structured binding declaration
foo.cc:4:14: error: expected initializer before ‘;’ token
4 | char [100005];
| ^
foo.cc: In function ‘int main()’:
foo.cc:10:22: error: ‘a’ was not declared in this scope
10 | cin>>a[i];
| ^