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

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

Can we use a function as a parameter of another function? [Eg: void wow(int func())]. mcq and its answer is provided on this page.

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

Que. Can we use a function as a parameter of another function? [Eg: void wow(int func())].
a. a) Yes, and we can use the function value conveniently
b. b) Yes, but we call the function again to get the value, not as convenient as in using variable
c. c) No, C does not support it
d. d) This case is compiler dependent
Answer: c
Explanation : None.


Comments