Your source for daily hacks

Published on: August 5, 2013 / Comments: None

Wrap your head around function pointers in C

No thumb instructions needed

Not to cause a language-preference war, but if you do programming you’ve probably written or thought about writing in C.  One very powerful tool in C  is utilizing function pointers, but they can be tricky.  Luckily Dennis took the time to create a useful write-up on the topic.

You’ll see by reading the article that using simple function pointers is a lot like using regular pointers (but as functions, lol).  However it gets more tricky when you start dealing with function arguments and return values.

If you need to take a step back, Dennis has some other useful tutorials you might be interested in.

Thanks Dennis!

Leave a Reply

Some HTML is OK