(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