#double (*X)(int a);

11 messages · Page 1 of 1 (latest)

hardy abyss
#

is X pointer to variable a?

plucky archBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

fresh jetty
#

no

#

X is a pointer to a function that takes an int and returns a double

hardy abyss
#

ohhhh

#

im just learning the basis of *

#

thanks

fresh jetty
#

yeah i wouldn't worry about function pointers too much

#

that syntax is a bit tricky to wrap your head around

hardy abyss
#

gotcha

#

!solved