Output: 4) Like normal pointers, we can have an array of function pointers. Below example in point 5 shows syntax for array of pointers. 5) Function pointer can be used in place of switch case. For example, in below program, user is asked for a choice between 0 and 2 to do different tasks.
Mountain laurel in Pennsylvania normally begins to bloom late in May. and its pink and white blossoms are in evidence well into June. Thousands of tourists from the Commonwealth and surrounding states. are attracted to the mountains each spring to view this co. lorful display.
Summer-Blooming Trees. Summer-flowering trees, like fall-blooming bulbs and spring-blooming asters, receive short shrift, simply because they blossom at an unconventional time. Just as we expect crocuses in March (and donât quite know what to make of them in October), so we equate flowering trees with crab apples, dogwoods, red-buds, and cherries.