/* 입력된 문자열 크기의 배열 확보 */
#include
#include
void main()
{
char temp[256]="";
char *pa, *pb;
printf("첫 번째 문자열 입력 :");
scanf("%s",temp);
pa = new char[strlen(temp)+1];
memcpy(pa,temp,strlen(temp)+1);
printf("두 번째 문자열 입력 :");
scanf("%s",temp);
pb = new char[strlen(temp)+1]