Int a=3,b=4,c=5,执行完语句t =!(a+b)+c-1&&b+c⼀2后t的值是?

2025-03-07 01:17:44
推荐回答(5个)
回答1:

int a=3,b=4,c=5;
int t;
t=!(a+b)+(c-1)&&b+c/2;
printf("%d",t);
t=1

回答2:

1。!的优先级强于+和-,+和-的优先级强于&&。

回答3:

0+5-0+2=7

回答4:

1

回答5:

7