What is 512 written as a power of a number?
A.9^2
B.4^4
C.2^9
D.2^8
A.9^2
B.4^4
C.2^9
D.2^8