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++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

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