Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

which of the following code return count of odd numbers in the array using a function: Question 30 Not yet answered Marked out of 1.00

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

which of the following code return count of odd numbers in the array using a function: Question 30 Not yet answered Marked out of 1.00 Select one: O a. int f2(int arr[], int size){int sum=0; for(int i=size-1;i>=0; i--) if(arrfi)/2== 1) sum+= arri); return sum;} O b. int f2(int arr[], int size){int b=0; for(int i=0;i=0; i--)if(arr[i]%2== 1) b++; return b;} O d. int f2(int arr[], int size){int b=0; for(int i=0;i= 0; i--) if(arr[i] ==x) C++; return arr[c];} O b. int f1(int arr[], int size, int x){ int c=0; for(int i=0;i=0;i--) if(arr[i]==x) C++; return c;} P Flag question Question 46 The data type that represents fractions is double. Not yet answered Marked out of 1.00 Select one: O a. False O b. True Flag

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions