give one reason | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

give one reason

if i can code like this then give one reason that i need to do to code like decrived in the array topic int tmp []={5,8,9,0}

24th Dec 2017, 11:08 AM
ashad nasim
ashad nasim - avatar
1 Answer
+ 7
Like this, like how? Using normal variables instead of arrays? The general scenario which necessitates the use of arrays would be, when you need to store a hundred integers / other datatypes. You won't want to create a hundred variables. Arrays solve that problem.
24th Dec 2017, 11:19 AM
Hatsy Rei
Hatsy Rei - avatar