在线作业指针作函数参数用法(The online job pointer is used as function parameter).docVIP

  • 6
  • 0
  • 约4.26千字
  • 约 12页
  • 2017-07-24 发布于河南
  • 举报

在线作业指针作函数参数用法(The online job pointer is used as function parameter).doc

在线作业指针作函数参数用法(The online job pointer is used as function parameter)

在线作业指针作函数参数用法(The online job pointer is used as function parameter) 9.11 odd or even numbers in an array Results: 100 / Discount: 0.8 Please make up a function fun (int, *a, int, N, *odd, int, *even, int). The function of the function is to find the sum of all odd numbers in the array, and the sum of all even numbers. The parameter n gives the number of data in the array: returns the sum of the odd numbers by using the pointer odd, and returns the sum of the even numbers by the pointer even. For example: the values in the array are: 1, 8, 2, 3, 11, 6, and then use the pointer odd to return the

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档