143k views
1 vote
Which expression adds 1 to the element of array arrayname at index i?

User Slindenau
by
8.4k points

1 Answer

3 votes
I believe the answer is ++arrayName[ i ].

User Kirtiman Sinha
by
8.9k points