Question: I'd like to know why the correct answer is C instead of D. The if statement code block is not base case because it has
I'd like to know why the correct answer is C instead of D. The if statement code block is not base case because it has recursive call "superWriteVertical(- number)," isn't it?

Consider the following code: 5 6 1 // Write the digits of the number, stacked vertically. 2 // If number is negative, then a negative sign appears on top. 3 void superWriteVertical(int number) if (number 10 O number 0 and number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
