i recently read that we can pass function to a function by using pointer to a function.
i tried with an simple example.i defined sum function and passed it to average function so that it calculated average of return value from sum and 2 more nos..
rather than convenience point of view i found it complicated...is there any application of this concept?:?:
All 3 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.