编写一个函数,用指针计算整型数组的和。使用c语言 要求:定义一个数组 {1, 2, 3, 4, 5},函数 int sum_array(int *arr, int size) 计算数组和,在 main 函数中调用并输出结果。

视频信息