实现数组旋转(循环右移) 如数组 [1, 2, 3, 4, 5, 6, 7],右移 3 位则为 [5, 6, 7, 1, 2, 3, 4] 首先使用泛型函数 void Rotate(void *front, void *middle, void *last) { int frontSize = (char *)middle - (char *)front; int backSize = (char *)last - (char *)middle; char *buffer = (char *)m…