單項選擇題

以下程序段()。(非0就是真)
intx=-1;
do{x=x*x;}while(!x);

A.是死循環(huán)
B.循環(huán)執(zhí)行二次
C.循環(huán)執(zhí)行一次
D.有語法錯誤

微信掃碼免費搜題