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 RepliesReply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.