🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Function Pointers in C: all 15 questions

Quiz: Function Pointers in C · Question 6 of 15

What is a callback?

What is a callback?

  1. A.A function that calls itself
  2. B.A function that returns a function
  3. C.A function passed to another function, which calls it when needed
  4. D.A function stored in a header file
Answer & explanation

Correct answer: A function passed to another function, which calls it when needed

The receiving function stays general; the caller supplies the specific behaviour.

Can you get the rest right without peeking?

Take the timed Quiz: Function Pointers in C quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →