Sum of two arrays

前端 未结 5 1608
攒了一身酷
攒了一身酷 2021-01-23 14:50

The exercise says \"Make a function with parameters two int arrays and k which is their size. The function should return another array (size k) where every element of it is the

5条回答
  •  一个人的身影
    2021-01-23 15:09

    change the function summary signature (the definition part of the declaration) to this and try it out:

    void sumarray(int k,int* A,int* B){

提交回复
热议问题