1.

Consider the following C code: int A[100][100]; int main() { for(int i=1; i < 100 ; i++) for(int j=1; j < 100;j++) A[i][j] = (i/j)*(j/i); return 0; }What will be the sum of the all the elements of double dimensional array A after implementing the above function ?(A) 100(B) 99(C) (100*99)/2(D) 0

Answer»


Discussion

No Comment Found

Related InterviewSolutions