0_0_18706871_9563.cpp: In function 'int main()': 0_0_18706871_9563.cpp:9:39: error: 'malloc' was not declared in this scope p=(int *)malloc(num*sizeof(int)); ^ 0_0_18706871_9563.cpp:32:11: error: 'free' was not declared in this scope free(p); ^