spd
Answered On : Sep 9th, 2005
float * :p
Login to rate this answer.
nirupama
Answered On : Dec 28th, 2005
float
Login to rate this answer.
Vinnie
Answered On : Feb 20th, 2012
a) float is the right answer
Login to rate this answer.
a)float
Login to rate this answer.
neeraj
Answered On : Jul 16th, 2012
float
Login to rate this answer.
When the statement FLOATPTR a,b; is encountered, FLOATPTR is replaced by the macro expansion float * i.e the statement now becomes float * a,b;
So, b is a pointer to float.
Login to rate this answer.
b is a plain float.
FLOATPTR a,b; expands to float* a,b;, which is *parsed* as float (*a),b;. The * is bound to the declarator, not the type specifier, so only a is declared as a pointer to float.
Login to rate this answer.
shivprasad
Answered On : Nov 2nd, 2012
b) float pointer
Login to rate this answer.