[code]
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define N 7
int main()
{
int i=0,j=0,k=0;
int b[7]={7,6,5,4,3,2,1};
char a[N][7]={"g","f","e","d","c","b","a"};
int temp_b=0;
char *temp_a=NULL;
printf("before sorted\n");
printf("a[] b[]\n");
printf("