The names of all associates undergoing training are stored in an array named associate_name[50]. The 5th associates name is retrieved as
Answer options
A
associate_name[4]
B
associate_name[5]
C
associate_name[3+1]
D
associate_name[6]
Correct answer: associate_name[4], associate_name[3+1]
Explanation
since array index starts from 0, the fifth element is accessed is accessed by array[4]. It is possible to perform arithmetic operation in an array position