Respuesta :

Answer:

The answer is "Option 3".

Explanation:

In the given code an array a[] is already initialized then a variable "len" is defined that contains the length of the array and an integer variable x is defined that contains the value 6 that is defined in the array. In the for loop the if block is defined that check the array element value is less then variable x if this condition is true the array variable holds value in x variable and compares other values. In the code value of x variable is 1 and other options are not correct that can be defined as follows:

  • In option 1, In array, element 36 is not available that's why it is not correct.
  • In option 2 and option 4, the value of x variable is 1 and it is less than 12 and 6. that's why it not correct.
ACCESS MORE
ACCESS MORE
ACCESS MORE
ACCESS MORE