#include #include #include #include typedef int (_cdecl *UHU)(); int plus2(int a, int b) { return a+b; } typedef struct _stack { int a; int b; } STACK; int main(int argc, char**argv) { UHU puhu; STACK stack; int result; puhu = plus2; stack.a = 55; stack.b = 6; result = (puhu)(stack); printf("Result: %i\n", result); return 0; }