int main(int argc, char *argv[]) { // int *hello = (int) malloc(10 * sizeof(int)); int *hello = new int[10]; // free(hello) delete hello; return 0; }