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
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
Browser other questions tagged c pointer
You are not signed in. Login or sign up in order to post.
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.
– Fábio Morais
but why use this concept? what is the advantage?
– Felipe Moura
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
– Fábio Morais