Can you overload a function based only on whether a parameter is a value or a reference?
Answer:
No, We can not overload a function based only on whether a parameter is a value or a reference. Because passing by value and by reference looks identical to the caller.
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Answer:
No, We can not overload a function based only on whether a parameter is a value or a reference. Because passing by value and by reference looks identical to the caller.
need an explanation for this answer? contact us directly to get an explanation for this answer