Home > Back-end >  C language sort
C language sort

Time:05-04

Why this will sort out the wrong

CodePudding user response:

Look at eyes ache, how good, directly on the code, who slowly knock, free to you,,

CodePudding user response:

The second is the for loop j=9; This writing is fixed, this should be related to n a number of
In addition, when j=9, 10, j + 1 is \ [10] cross a line? The following table is the biggest should be 9, I can't see your array length, so can only be guessed at

CodePudding user response:

Complete C and C + + tutorial: https://blog.csdn.net/it_xiangqiang/category_10581430.html
C and C + + algorithm complete tutorial: https://blog.csdn.net/it_xiangqiang/category_10768339.html
  • Related