For Loop init | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

For Loop init

What is the meaning of init in the heading of the for loop?

7th Nov 2016, 3:19 PM
Ubaidullah Anwar šŸ‡µšŸ‡°
Ubaidullah Anwar šŸ‡µšŸ‡° - avatar
2 Respostas
+ 1
Right. It is used to initialize and declare the variable used as condition for the loop.
7th Nov 2016, 4:30 PM
marcram
0
Perhaps it means initialization...
7th Nov 2016, 3:19 PM
Ubaidullah Anwar šŸ‡µšŸ‡°
Ubaidullah Anwar šŸ‡µšŸ‡° - avatar