Computer Science, asked by chaithrarox, 1 year ago

difference between msg[i+1] and msg[i]+1 ?

Answers

Answered by Vegeta
0
In an array msg[ ], msg[i+1] represents the value given to the index (i+1) of the array. 
msg[i]+1 takes the value stored in index i and adds 1 to it.
Answered by prakriti27
0
msg[i+1] means the index of array increase by 1
msg[i]+1 means the value at that index should increase by 1

prakriti27: pls mark as the best
Similar questions