单选题
👁️ 浏览量:

试题题干

设int m;,与while(!m)等价的是( )

A

while(m!=0)

B

while(m=1)

C

while(m==0)

D

while(m!=1)

参考答案

正确答案:

试题解析

!m等价于!(m!=0),即m==0。