Is is safe to cast function pointer to another function pointer in C

后端 未结 0 863
暖寄归人
暖寄归人 2021-02-15 18:26

Is it safe to do cast this 2 functions to callback pointer type then call them without casting back?

typedef void (*callback)(int i, ...);
    
void foo() {
    /         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题