c - whats the use of function pointers? -



c - whats the use of function pointers? -

possible duplicate: what point of function pointers?

i trying understand in practical scenarios function pointers used. , can please give me practical illustration have pass function argument function.

function pointers can useful when want create callback mechanism, , need pass address of function function.

they can useful when want store array of functions, phone call dynamically example.

c

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - cuda, pycuda -- how to write complex numbers -- errors:class "cuComplex" has no member "i" -

How do I check if an insert was successful with MySQLdb in Python? -