關(guān)于數(shù)組的定義,閱讀下列代碼,選出$arr數(shù)組中元素值為’cc’的下標(biāo)()。
A.0 B.2 C.6 D.7
A.pow() B.sqrt() C.rand() D.round()
A.while B.switch C.foreach D.for