79383402

Date: 2025-01-24 06:23:29
Score: 2.5
Natty:
Report link

The return type is not consider in function overloading since it can result in ambiguity of which function to call. For example:

int foo();
double foo();

int x = foo(); // Which one should be called?
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Rud48