H
hyderabadblues
I have problem.I want to create function pointer with typedef so that
I can use it for both functions which takes one integer parameter and
function which take none because of some obvious reasons of code
merging from two different projects.
Something like
type void (*FP)(int i=0);
But above piece of code gives me a error, that I cannot have default
parameters.How can I change my code
I can use it for both functions which takes one integer parameter and
function which take none because of some obvious reasons of code
merging from two different projects.
Something like
type void (*FP)(int i=0);
But above piece of code gives me a error, that I cannot have default
parameters.How can I change my code