PRF192_-_S6_-_SU_2023_-_FE_452.webp
A

PRF192_-_S6_-_SU_2023_-_FE_452.webp

(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 7

Thông tin

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

Image metadata

Filename
PRF192_-_S6_-_SU_2023_-_FE_452.webp
File size
46.4 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom