📜  c - 任何代码示例中字符串的合并排序

📅  最后修改于: 2022-03-11 14:58:38.028000             🧑  作者: Mango

代码示例1
#include
#include
#include //To use the string functions like strcmp and strcpy

#define MAX 10  // This is the default size of every string 

void Merge(char* arr[],int low,int mid,int high) //Merging the Array Function
{
    int nL= mid-low+1;
    int nR= high-mid;

    char** L=malloc(sizeof(char *)*nL);
    char** R=malloc(sizeof(char *)*nR);
    int i;
    for(i=0;i",arr[i]);
    return 0;

}