...
KVS DEC-2013
October 12, 2023
Computer-Networks
October 12, 2023
KVS DEC-2013
October 12, 2023
Computer-Networks
October 12, 2023

OOPS

Question 126
Which of the following is not true for overloaded function in C++?
A
Overloaded functions should have different arguments lists
B
Overloaded functions having the same argument lists should have a different return type.
C
Functions cannot be overloaded on the basis of one being static and the other non static
D
None of these
Question 126 Explanation: 
Two or more functions having same name but different argument(s) are known as overloaded functions. So option is not true.
Correct Answer: B
Question 126 Explanation: 
Two or more functions having same name but different argument(s) are known as overloaded functions. So option is not true.

Leave a Reply

Your email address will not be published. Required fields are marked *