Question: void fillArray ( int arr [ ] , int size ) { for ( int i = 0 ; i < size; + + i

void fillArray (int arr[], int size){ for (int i=0; i < size; ++i)arr[ i ]= i +1;}int arr[]={9,8,7,6,5};int sum = arr[0]+ arr[1]+ arr[2]+arr[3]+ arr[4];Q: the value of sum

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!