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?:?:

Look at the STL algorithm header, there is a whole load of functions using this concept, like std::count_if().

Also, if you want to compute an integral over a range, I found it preferable to pass the integrated function as a pointer, but that's a whole another case and may not be true in general.

I'm going to develop new pos system. So I need to choice right database for that. My software work in network.
System going to be handle one thousand transactions per ...