Which one below declares a function pointer (f) pointing to a function taking an int and a float and returning a double?

Which one below declares a function pointer (f) pointing to a function taking an int and a float and returning a double?

  1. a) double *f (int, float)
  2. b) double (*f) (int, float)
  3. c) (*double) f (int, float)
  4. d) double f* (int, float)

From the BCS Technical Cadre (ICT) October 2025 – 49th BCS Written (Special) (BPSC) exam, question 47 of 106.

More from this paper