Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Visual Studio 2010。我想知道 VS 调试器中是否有任何选项可以进入表达式。例子:
int a = 5, b = 255, c = 10; int result; result = a + b*c + a&b ;
要了解运算符优先级,我想知道result = a + b*c + a&b ;首先执行哪个表达式,然后执行哪个表达式。
result = a + b*c + a&b ;
有什么选择吗?谢谢。
尝试放置左括号和右括号。它将首先执行
结果 = (a + (b*c)) + a&b ;