void pointers & void function pointers
- From: "Peter Goddard" <peter_goddard_I_Dont_Like_Spam@xxxxxxxxxxxx>
- Date: Mon, 16 May 2005 20:26:57 GMT
Hello,
Is it possible, using casting to promote...
void *Ptr;
To behave like...
void (*FnPtr)(void);
?
i.e. Can the 'void *Ptr' be cast into calling a function once it points to
one?
Cheers
Peter.
.
- Follow-Ups:
- Re: void pointers & void function pointers
- From: Eric Sosman
- Re: void pointers & void function pointers
- From: Gordon Burditt
- Re: void pointers & void function pointers
- Prev by Date: Re: register variables
- Next by Date: Re: which is better "switch" or "if-else"
- Previous by thread: Nested linklist
- Next by thread: Re: void pointers & void function pointers
- Index(es):
Relevant Pages
|