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)
“Thou preparest a table before me in the presence of mine enemies; thou anointest my head with oil; my cup runneth over.”
—Bible: Hebrew Psalms, 23:5.