Description: implement the following array element exchange position function: void swap (int a [], int m, int n) This function can be put n elements of the array a before and after the m-th element exchange position, that is, before the exchange: a1, a2, ..., aM, aM+1, aM+2, ..., after aM+N exchange: aM+1, aM+2, ..., aM+N, a1, a2, ..., aM (requirements: In addition to the array a, shall not introduce other array.)
To Search:
File list (Check if you may need any files):
3-7.cpp