Question: please fill in the blanks with mcq answer provided on the right hand side in the picture. Computer language is C 3.4 Description: To calculate

 please fill in the blanks with mcq answer provided on the

please fill in the blanks with mcq answer provided on the right hand side in the picture. Computer language is C

3.4 Description: To calculate the average of the even numbers of the array. Program Code: #include float s=0; float sum (int *arr, int n) { inti, m; Choices: m = 0; 29) A) S=arr[i] for (i=0; i int main() Choices: { 32) A) FILE fp B) FILE *fp (32); C) file fp if((fp=fopen("file.txt", "w" ))==NULL) D) file *fp { 33) A) X==-1 printf(connot open fileln" ); B) feof(fp) exit(0); C) !feof(fp) } D) x!=-1 scanf("%d",&x); 34) A) fprintf(fp,"%d" , x) while (33) X B) printf("%d" , x) if(x%2!=0) (34) C) fprintf("%d" , x, fp) (35); D) break } 35) A) printf("%d" , x) fclose(fp); B) fscanf(fp,"%d",&x) return 0; C) fprintf("%d" , x, fp) } D) scanf("%d",&x) 4 - 8

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 Databases Questions!