Could anybody tell me how to call a function with in a structure.
Will it compile????
Pls give one example.
Printable View
Could anybody tell me how to call a function with in a structure.
Will it compile????
Pls give one example.
No it won't.
You can have a pointer TO a function inside a structure, but it won't call it for you.