0_0_20739315_3464.cpp:1:6: error: expected constructor, destructor, or type conversion before ';' token ^ 0_0_20739315_3464.cpp: In function 'int main()': 0_0_20739315_3464.cpp:11:6: error: 'i' was not declared in this scope for(i=0;i<n;i++) ^