void main() { int *pi
= new int[5]; // ¹è¿À» »ý¼º int i; for ( i = 0;
i < 5; i ++) pi[ i ]=i; for ( i =
0; i < 5; i ++) cout << "p[" <<
i << "] = " << pi[ i] << endl; delete
pi; }
void main() { char *pc = new
char[65535u]; if ( pc == NULL) //
¿¡·¯ °Ë»ç { cout << "\a\n No more
free heap memory
!\n"; exit(1); } // else some
operation here