+ 2
what happens to the previously assigned index value? (check description)
int b[]={12,14,45,34}; b[0]=10; what happens to the previous value of b[0]?
4 Answers
0
is replaced
the value 12 disappears.
0
thanks!
0
It is replaced by 10.
0
12 is replaced by 10. Youre basically assigning b[0] a new value. Thats why we call "=" an assignment operator.