# Which of the following in correct

1 vote
399 views
Assume that there are two lower triangular matrices A and B of size n*n. If matrix A and transpose of B are fit into a rectangular matrix C of size n*(n+1), then
a) B[i,j]=C[i,j+1]
b)B[i,j]=C[j+1,i]
c)B[i,j]=C[j, i+1]
0
I do not think that this problem is complete. Please write complete problem dude.
0
The question is correct

But how?
0
i am able to understand even question here. can anyone make it easy for me?

I think the answer should be option (c). I think an explicit explanation is not required because it can be easily checked with any 2 lower triangular matrices.
0
We will insert in matrix C in row major order or column major order?
0
As you know row major and column major representations are transpose of each other....so I suspect insertion order should be irrelevant if same convention(i.e., either row or column major) was followed for representation of A, B and C....but I would like to take other's view on this as well.
0

## Related questions

1
633 views
#include <stdio.h> int main() { int *p = (int *)20; int *q = (int *)30; printf("%d", q - p); } Explain which one of the following is correct? Compilation error. 10 2 None of there.
1 vote