Home / Questions / Is it possible to have a function as a parameter in another function?
Explanatory Question

Is it possible to have a function as a parameter in another function?

👁 853 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Yes, that is allowed in C programming. You just need to include the entire function prototype into the parameter field of the other function where it is to be used.