I'm new in C
programming. Could you read and explain the purpose of below code:
typedef void (*func_ptr)();
void func_call (int addr)
{
func_ptr func;
func = (func_ptr)(addr);
func();
}
I don't understand what func = (func_ptr)(addr);
do and the purpose of func();
Thanks.