int main(){ //Creating new pointer int *ptr = new int(10); //removing pointer from memory delete ptr; return 0; }