Report Bug

QusWhich of the following correctly accesses the last element in a one-dimensional array arr of size n? QusWhich of the following correctly accesses the last element in a one-dimensional array arr of size n?


A. arr[n-1]
B. arr[n]
C. arr[n+1]
D. arr[-1]


Solution
A. arr[n-1]



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad