數組循環左移

#include <stdio.h> #include <stdlib.h> void Reverse( int a[] , int head , int tail ){ int temp ; for(int i = 0 ; i< (tail - head + 1 )/2 ; i++){ temp = a[ head+i ] ; a[head+
相關文章
相關標籤/搜索