If A = [aij] is a scalar matrix of order n×n such that aii = k for all i, then trace of A is equal to (a) nk (b) n+k (c) n/k (d) none of these