What is the application of the concept of pointers for functions?

Asked

Viewed 56 times

0

I would like a practical example for the use of pointer to function as well as a function having as one of the parameters a pointer pointing to a function; it is not necessary to show some code, I would like a view to a larger project even

  • There are no specific projects, pointers is essential for programming in C, it is like knowing how much is 1+1, does not serve for any specific project, but helps to solve problems.

  • but why use this concept? what is the advantage?

  • Imagine you have variables and you want to change the value of 3 variables in a function, how can you do that? They are either global variables or only by pointers. It is a very simple example of an application

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.