0

C++ Question

Hello How would you use the following statement in a program? int(*fp)(char*); It appears in a SoloLearn coding challenge, it says it is a "pointer to function taking a char* argument and returning an int.

26th Aug 2020, 9:21 PM
Edward Finkelstein
Edward Finkelstein - avatar
2 Answers
+ 1
Ok, I think I got it. https://code.sololearn.com/cEx4oj59lnKc/#cpp I am kind of confused about the warnings that pop up. Thanks again swim!
26th Aug 2020, 11:19 PM
Edward Finkelstein
Edward Finkelstein - avatar