阅读背景:

如果我转换函数指针,改变参数的数量会发生什么

来源:互联网 

I'm just beginning to wrap my head around function pointers in C. To understand how casting of function pointers works, I wrote the following program. It basically creates a function pointer to a function that takes one parameter, casts it to a function pointer with three parameters, and calls the function, supplying three parameters. I was curious what would happen:I'm just beginning to wrap my head around funct




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: