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

C/C - Online Exam Test Papers | C/C - MCQs[multiple choice questions and answers ] | C/C - Mock Test Papers | C/C - Practice Papers | C/C - Sample Test Papers |

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:-2021-02-20 21:39:28


More MCQS Questions and answers