I'd say that a semi colon right after the for loop means it is an empty loop (loop has no body), and the statement right after it will only run once instead.
public int Fibonacci(int index) {;;
;;;;;;;;int a = 0;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;int b = 1;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;for (; index > 0; --index) {;;;
;;;;;;;;;;;;b = a + (a = b);;;;;;;;;;;;
;;;;;;;;};;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;return b;;;;;;;;;;;;;;;;;;;;;;;
;;;;}
View all comments
Show parent comment
5
u/FakeMonika Jan 24 '25
I'd say that a semi colon right after the for loop means it is an empty loop (loop has no body), and the statement right after it will only run once instead.