Question
Which of these lines of code will give better performance?
1. a | 4 + c >> b & 7;
2. (a | ((( 4 * c ) >> b ) & 7 ))
Which of these lines of code will give better performance?
1. a | 4 + c >> b & 7;
2. (a | ((( 4 * c ) >> b ) & 7 ))
Answer: Option C
Was this answer helpful ?
Parentheses do not degrade the performance of the program. Adding
parentheses to reduce ambiguity
does not negatively affect your system.
Was this answer helpful ?
More Questions on This Topic :
Question 10.
What is the output of this program?
class opera....
Submit Solution