Which of the following sequences can fill in the blanks so the code prints -1 0 2?

Question:

Which of the following sequences can fill in the blanks so the code prints -1 0 2? 

image text in transcribed

A. compare, mismatch, compare

B. compare, mismatch, mismatch

C. mismatch, compare, compare

D. mismatch, compare, mismatch

E. None of the above

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: