+ 1
int (*fp)(char*); in the above instruction, What is fp and char and how are they interlinked:
3 odpowiedzi
+ 4
the fp is the variable defined as pointer to function.The variable can keep the pointer to function which has one parameter (pointer to char ) and it returns integer value.i.e. :
int foo(char * pInData);
fp = foo;
fp("hello foo");
+ 4
tnx highman i got it👍😊
+ 2
you are welcome;))