G
Ganga
Can any one explain the function prototype -
( * (void ( * ) ( ) ) 0 ) ( );
( * (void ( * ) ( ) ) 0 ) ( );
Can any one explain the function prototype -
( * (void ( * ) ( ) ) 0 ) ( );
I understand that statement function_ptr pZero = (function_ptr) 0;
initializes the pointer to 0 just the way non-function pointers are
initialized to NULL.
But wont a call using zero initialized function pointer as in
(*pZero)() cause program to crash?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.