在main函数里首先有一个数组,之后调用。例如:int main(){ int a[5]={1,5,3,8,0}; InsertSort(a,5);//调用函数InsertSort() //如果想输出看看,就把数组打印出来看一下 return 0;}