A)k%2 B)k%2==1 C)(k%2)!=0 D)!k%2==1
假设K=10,运算结果为:
A)0 B)0 C)0 D)0
假设K=7,运算结果为:
A)1 B)1 C)1 D)0
正确答案是D,答案给错了吧~