The number of all possible matrices of order 3 × 3 with each entry 0 or 1 is:
(A) 27
(B) 18
(C) 81
(D) 512