Q. Which of these lines of code will give better performance?
Code:1. p | 8 + r >> q & 10; 2. (p | ((( 8 * r) >> q ) & 10 ))
β
Correct Answer: (D)
Both 1 & 2 will give equal performance.
1. p | 8 + r >> q & 10; 2. (p | ((( 8 * r) >> q ) & 10 ))
You must be Logged in to update hint/solution