You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • The issue isn't executing a function - it's just that the function you have defined in C isn't returning a value (so it'll be returning some random memory address).

    If you stick a return 0 at the end of it, it should work. It's worth checking out the warnings the compiler gives you, as it probably would have flagged that one up :)

About

Avatar for Gordon @Gordon started