Can we use a function as a parameter of another function? [ Eg: void wow(int func()) ]

Question:
Can we use a function as a parameter of another function? [ Eg: void wow(int func()) ]

1.Yes, and we can use the function value conveniently

2.Yes, but we call the function again to get the value, not as convenient as in using variable

3.No, C does not support it

4.This case is compiler dependent

Posted Date:-2022-03-20 12:06:36


More MCQS Questions and answers

Search
Olete Team
Online Exam Test Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Test website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!