What does the console display after the following line?

The following functions are defined:

What does the console display after the following line?
Printer(2);

The following functions are defined:

What does the console display after the following line?
Printer(2);

A.
210

B.
211

C.
2101

D.
2121



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Matt

Matt

Can someone please explain this?

Mutton

Mutton

i = Printer(i -1) is executed after each iteration of the for loop