Code:
/* print the sorted array */
	for(i=0;i<10;++i)
      printf("array[%d] = %d\n",i,nums[i]);