1.

(i) What is the role of the keyword void in declaring functions ? (ii) If a function contains several return statements, how many of them will be executed ? (iii) Which OOP principle implements function overloading ?

Answer»

(i) void—This keyword indicates that the function will not return value. 

(ii) one 

(iii) polymorphism



Discussion

No Comment Found

Related InterviewSolutions