View Compilation Error
2_28700_2183529_14283.cpp: In function 'int main()': 2_28700_2183529_14283.cpp:9:6: error: 'q' was not declared in this scope for(q=0;q<n;q++) ^ 2_28700_2183529_14283.cpp:12:44: error: redeclaration of 'int q' int a[1000]={0},count[1000]={0},max,temp,q=0; ^ 2_28700_2183529_14283.cpp:9:6: note: '<typeprefixerror>q' previously declared here for(q=0;q<n;q++) ^