a) Yes, and we can use the function value conveniently
b) Yes, but we call the function again to get the value, not as convenient as in using variable
c) No, C does not support it
d) This case is compiler dependent
Can we use a function as a parameter of another function? [Eg: void wow(int func())].
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Can we use a function as a parameter of another function? [Eg: void wow(int func())].
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!