+ 1

Need to get something clear here

Hey, we assigned number 3 for 42 here. So does this mean when we want to print this, will it come out as 42?

6th Jun 2018, 9:39 AM
Icefield
Icefield - avatar
4 Answers
+ 1
Do you mean if you reassign a value of an index in an array will it print the new value?
6th Jun 2018, 9:40 AM
Fabio Rocha
Fabio Rocha - avatar
+ 1
Exactly.
6th Jun 2018, 9:41 AM
Icefield
Icefield - avatar
+ 1
Yes, it will print the new value
6th Jun 2018, 9:41 AM
Fabio Rocha
Fabio Rocha - avatar
+ 1
Thank you so much.
6th Jun 2018, 9:42 AM
Icefield
Icefield - avatar