include <stdio.h> int main(void){ int arr[10];int i;for(i=0;i<10;i++)scanf("%d",&a[i]);for(i=9;i>=0;i--)printf("%d ",a[i]);printf("\n");}
输出为什么不是“321”而是“121”,我目的是把数组的值反序的,小白刚学c求大佬指点。int my_strlen(char* arr){int count = 0;while (*arr != '\0'){count++;arr++;}return count;}void exc(char* arr){int len = my_strlen(arr);if (*arr != '\0'){int tmp = *arr;exc(arr + 1);*...