Comprehension

Report a typo

What will the following program output?

var counter = 3;
fun main() {
   if(counter == 0) return
   counter = counter - 1
   main()
   print(0)
}
Enter a short text
___

Create a free account to access the full topic