Variable | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Variable

that's true about init? what's the meaning init? please tell me..

25th Dec 2016, 5:17 PM
Andhika Tri Saputra
Andhika Tri Saputra - avatar
4 Answers
+ 1
You can make some initialization here. Example for(int i=0; i < 5; ++i) {} In initialization section I created a variable, set the value You can skip this section if you needn't it
25th Dec 2016, 6:14 PM
Vladislav
Vladislav - avatar
0
Could you give more information?
25th Dec 2016, 5:37 PM
Vladislav
Vladislav - avatar
0
for (init; condition; increment) //meaning of init?
25th Dec 2016, 5:42 PM
Andhika Tri Saputra
Andhika Tri Saputra - avatar
0
so, init same with initialization? thanks a lot bro/sist
25th Dec 2016, 6:17 PM
Andhika Tri Saputra
Andhika Tri Saputra - avatar