cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Overloading and return type
Overloading and return type
Jul 1, 2011 at 5:08am UTC
ankushnandan
(64)
Why function's return type is NOT considered when overloading functions?
Jul 1, 2011 at 6:00am UTC
hamsterman
(4538)
1
2
void
f();
int
f()
is not valid because there is no way to distinguish them at the point where it's called.
Topic archived. No new replies allowed.