單項(xiàng)選擇題

設(shè)有定義char*p=“abcde\0fghjik\0”;則printf(“%d\n”,strlen(p));輸出結(jié)果是()

A.12
B.15
C.6
D.5

微信掃碼免費(fèi)搜題