请编写函数fun,该函数的功能是:移动一维数组中的内容, 若数组中由n个整数,要求把下标从0到p(p小于等于n-1)的数组元素平移到数组的最后
摘要:
/*请编写函数fun,该函数的功能是:移动一维数组中的内容, 若数组中由n个整数,要求把下标从0到p(p小于等于n-1)的数组元素平移到数组的最后。 */ #include <stdio.h> #include <string.h> void fun(int *str,int n, int p) { 阅读全文
posted @ 2024-06-25 23:15
wessf
阅读(38)
评论(0)
推荐(0)