0_0_19067818_9166.cpp: In function 'int main()': 0_0_19067818_9166.cpp:11:23: error: 'memset' was not declared in this scope memset(a,0,sizeof(a)); ^ 0_0_19067818_9166.cpp:20:7: error: 'i' was not declared in this scope if(i!=n-1) printf(" "); ^