單項選擇題

要聲明一個長度為256個字符的定長字符串變量str,下列語句正確的是()

A.dim str as string
B.dim str as string(256)
C.dim str as string[256]
D.dim str as string*256

微信掃碼免費搜題