1 #include 2 using namespace std; 3 4. int main(){ int n; int a[]; for (int i=0;i>a[i]; } 11 input Compilation failed due to following error(s). main.cpp:6:9: error: storage size of 'a' isn't known...

How to remove this error please help!!!1 #include<iostream><br>2 using namespace std;<br>3<br>4. int main(){<br>int n;<br>int a[];<br>for (int i=0;i<n;i++){<br>cin>>a[i];<br>}<br>11<br>input<br>Compilation failed due to following error(s).<br>main.cpp:6:9: error: storage size of 'a' isn't known<br>int a[];<br>567 CO 90 1<br>

Extracted text: 1 #include 2 using namespace std; 3 4. int main(){ int n; int a[]; for (int i=0;i>a[i]; } 11 input Compilation failed due to following error(s). main.cpp:6:9: error: storage size of 'a' isn't known int a[]; 567 CO 90 1

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here