heap은 구조체고

data와 temp는 스트링타입이야


아무생각없이 이렇게 짰는데



        strcpy(temp,heap->data[i]);

        strcpy(heap->data[i],heap->data[parent]);

        strcpy(heap->data[parent],temp);


c언어 함수중에 string 두개 값 바꿔주는 함수 없어?