Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions


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.
0 0 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
1 5 1
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts