单项选择题

A.det(A),inv(A)
B.rank(A),inv(A)
C.inv(A),det(A)
D.det(A),diag(A)