https://embetronicx.com/tutorials/p_language/c/callback-function-in-c-programming/
Callback Function in C Programming