A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. An n x n array v is defined as follows:

v[i, j] = i-j for all i, j, 1 <= i <= n, 1 <= j <= n

The sum of the elements of the array v is
a. 0
b. n-1
c. n^2 - 3n + 2
d. n^2 (n+1)/2
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: