作者:手机用户2502853923 | 来源:互联网 | 2023-07-04 09:12
In the following code:
在以下代码中:
int c;
while((c=10)>0)
What does c = 10
evaluate to? Is it 1 which indicates that the value 10 is assigned to variable c successfully, or is it 10? Why?
c = 10评估为什么?是1表示值10成功分配给变量c,还是10?为什么?
5 个解决方案