实验主函数中的数组传到自定义数组中是否会改变里面的值

题目:
将一个数组从主函数中传到自定义函数中函数里面的值是否会改变
#include <stdio.h>
void shu(int i,int j)
{
  int c=0;
  for(;i<=j;i++)
  {
    printf("%d ",i);
    c++;
    if(c%5==0)
      printf(" ");
  }
}
int main()
{
  int a,b;
  scanf("%d,%d",&a,&b);
  shu(a,b);
}

原文地址:https://www.cnblogs.com/lqboke/p/9774398.html