/*write a c program to read N names, strore them in the form of an array and sort them in alphabetical order. output the given names and the sorted names with suitable headings*/ #include #include int main() { char s1[10][10],s2[10][10],t[10]; int i,j,n; printf("Enter the value of n:\n"); scanf("%d",&n); printf("Enter the n names\n"); for(i=0;i0) { strcpy(t,s2[j]); strcpy(s2[j],s2[j+1]); strcpy(s2[j+1],t); } printf("\n Given names:\n"); //output of given names for(i=0;i