MCQ Practice

Which of the following will increase the value stored in the first element of the fee array by 2?

A

amount[0] = amount[0] + 2

B

amount, fee[0] = amount, fee [0] + 2

C

feelnfo.amount[0] = feelnfo.amount[0] + 2

D

fee[0].amount = fee[0].amount + 2; E. fee.amount[0] = fee.amount[0] + 2

Correct Answer: D