Question: Assume we have array x with size equals to 6. The following code will read each element from array x, if the element is even


Assume we have array x with size equals to 6. The following code will read each element from array x, if the element is even then multiply it with 4 and modify the result on array x. Otherwise replace the odd elements in array x with 0. // space 1 for (int i=0;i<. if x .. space else fill the spaces with correct answer select one: a. space1 is space2 space3 space4 ob. c. d. none of answers>
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
