0_0_17832706_9277.cpp: In function 'int main()': 0_0_17832706_9277.cpp:27:36: error: 'malloc' was not declared in this scope a = (int*)malloc(sizeof(int) * n); ^ 0_0_17832706_9277.cpp:58:10: error: 'free' was not declared in this scope free(a); ^