How does use of table lookup compare to a switch statement?
Answer: E
Comparison of switch and table lookup.
We will see that B and C are true by experiment with a real compiler:
Pros use table lookup when they can. It is also very useful in hardware, e.g. as an approximate answer for the divide and square root instructions.