#include <iostream> #include <stdlib.h> using namespace std; int main() { -int *array = new int[10]; -int *x = (int*) malloc (4); -int *y = new int; -int *z = new int[10]; -int *a = new int(25); -float *b = new float(75.25); -*x = 5; -*y = 6; -for(int i=0; i<10 ;i++) --array[i]=50; -for(int i=0; i<10 ;i++) --cout<<array[i]<<" "; -cout<<endl; -delete[](array); -free(z); -delete(x); -delete(y); -return 0; }