Jump Table Example in C
Another simple example, this time demonstrating a jump table rather than a mere branch table. This allows program blocks outside of the currently active procedure/function to be called:
#includeRead more about this topic: Branch Table
Famous quotes containing the words jump and/or table:
“If it were done when tis done, then twere well
It were done quickly. If th assassination
Could trammel up the consequence, and catch
With his surcease successthat but this blow
Might be the be-all and the end-all!here,
But here, upon this bank and shoal of time,
Wed jump the life to come.”
—William Shakespeare (15641616)
“A big leather-bound volume makes an ideal razorstrap. A thin book is useful to stick under a table with a broken caster to steady it. A large, flat atlas can be used to cover a window with a broken pane. And a thick, old-fashioned heavy book with a clasp is the finest thing in the world to throw at a noisy cat.”
—Mark Twain [Samuel Langhorne Clemens] (18351910)