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
I should refresh my memory of the binary layout of the C calling convention at some point, but I'm pretty sure this is what is happening: