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:
“Men are afraid to rock the boat in which they hope to drift safely through lifes currents, when, actually, the boat is stuck on a sandbar. They would be better off to rock the boat and try to shake it loose, or, better still, jump in the water and swim for the shore.”
—Thomas Szasz (b. 1920)
“Will you greet your doom
As final; set him loaves and wine; knowing
The game is finished when he plays his ace,
And overturn the table and go into the next room?”
—Philip Larkin (19221986)