1 2 3 4 5 6 7 8 9
int main(int argc, char *argv[]) { // int *hello = (int) malloc(10 * sizeof(int)); int *hello = new int[10]; // free(hello) delete hello; return 0; }