write a program to input 10 strings and compare without
using strcmp() function. If the character of one string
matches with the characters of another string , sort them
and make it a single string ???
example:- str1="Aakash" st2="Himanshu" str="Uday"
output:- Aakashimanshuday (please post the answer as quickly
as possible)
Answer / Aneej Yadav
```cn#include <stdio.h>n#include <string.h>nnvoid merge(char *arr[], int l, int m, int r) {n int i, j, k;n char temp[r + 1];n for (i = l; i <= m; i++) {n arr[m][j++] = arr[i];n }n i = l;n j = 0;n for (k = l; k <= r; k++) {n if (strcmp(arr[i], arr[k]) < 0) {n arr[++i] = arr[k];n } else if (j == 0 || strcmp(arr[j - 1], arr[k]) > 0) {n arr[++j] = arr[k];n }n }n for (; j >= 1; j--) {n temp[--i] = arr[j][--j];n arr[j][j + 1] = '