Generic Function Pointers In C And Void *

Posted by shantzg001 on Feb 22, 2009 9:04 PM EDT; By Shantanu Goel
Mail this story
Print this story

Many times people ask me about what keyword type they should use to declare a generic function pointer in C, or worse still, they don’t ask and steam ahead using “void *”. Well, C does not have a generic function pointer type but it does have a generic function pointer. We’ll see why void * cannot be used to denote generic function pointers and so how we can declare them

Full Story

» Read more about: Story Type: Tutorial

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.