void main() { char *p = NULL; if((p = new char[10]) !=NULL) { strcpy(p, "hello"); cout<