[ Read the following questions carefully and choose the right answer. ]
An n x n array v is defined as follows; v(i, j)=i-j for all i, j, 1<=n, 1<=j <=n
The sum of the elements of the array v is
B n-1
C n2 - 3n + 2
D n2(n+1)/2
Solution
Correct Answer: Option A