Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren+ 1
Why this code runs infinitely when i use int foo(num - -) for recursive calls? I expected that it decrement value automatically
1 Antwort
0
num -- doesnt do what you expect. If you use num-1 instead, it works.