PRF192_-_SU_2023_-_Block_5_-_RE_751.webp
Choso87

PRF192_-_SU_2023_-_Block_5_-_RE_751.webp

  • Media owner Choso87
  • Ngày thêm
Answer (Choose 1 answer)
What will be the output of the following program?#include<stdio.h>
int fun (int arr[], int n)
{
int rs = 1;
for (int i = 0; i<n;i++)
rs *= arr[i];
return rs;
}
int main()
{ int a[3] = {2,3,4};printf("%d ", fun(a,3));return 0;
}
A. 24
B. 25
C. 26
D. 27

Exit 43

Thông tin

Category
PRF192
Thêm bởi
Choso87
Ngày thêm
Lượt xem
3,197
Lượt bình luận
10
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRF192_-_SU_2023_-_Block_5_-_RE_751.webp
File size
61 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom