Which of the following is a correct statement to add
to 5 th element in an array arrl], the 50th element
in the same array, which is of size 50 ?
A. arr[5] = arr[5]+arr[50]
B. arr[4]+= arr[49]
C arr{5}+= arr[50]
D. arr[4]+= arr[4]+ arr[49]
Answers
Answered by
1
Answer:
arr[5]+=arr[50]
Explanation:
\♤♡○♡♡■2♡■[■•■•♡[°■•《•♡◇•》•《•♤°[°[
Answered by
3
Answer:
The correct answer is B arr[4]+= arr[49]
Explanation:
The index starts from 0 so the first element will be arr[0] and 5th element will be arr[4]
Similar questions