1.

Which is used to use a function from one source file to another?(a) code(b) declaration(c) prototype(d) variableI have been asked this question in my homework.Question is taken from Linkage topic in chapter Source Files, Classes and Operator Overloading in C++ of C++

Answer» RIGHT OPTION is (c) PROTOTYPE

Explanation: By defining a function’s prototype in another file means, we can inherit all the FEATURES from the SOURCE function.


Discussion

No Comment Found

Related InterviewSolutions