Can you overload a function depend only on whether parameter, C/C++ Programming

Can you overload a function depend only on whether a parameter is a value or a reference?

A: No. Passing by value and reference looks identical to the caller.

 

Posted Date: 3/20/2013 3:42:35 AM | Location : United States







Related Discussions:- Can you overload a function depend only on whether parameter, Assignment Help, Ask Question on Can you overload a function depend only on whether parameter, Get Answer, Expert's Help, Can you overload a function depend only on whether parameter Discussions

Write discussion on Can you overload a function depend only on whether parameter
Your posts are moderated
Related Questions

A: C++, unlike only about every other language with exceptions, is extremely accomodating while it comes to what you can throw. Actually, you can throw anything you akin to. That b

Problem : Change to palindrome A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your ta

Differentiate between the expression "++a" and "a++"? - With ++a, increment happens first on variable a, and resulting value is used. This is known as prefix increment. - Wi

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Project Description: We want to generate premium numbers for one of our application. What we need is: A program that generate 2, 3, 4, 5, 6, 7, 8 digits premium numbers

Problem: (a) Show the Java approach to event processing by explaining how event handling works in Java. Make use of a suitable example to support your answer. (b) Describe

redirection in c++

Op e r a t o r P r e c e d e n c e a n d A s s o c i a t i v e l y : T h e op e r a t o r p r e c e d e n c e a n d i

Unary Minus Operator( Negation) This operand can be used to negate the value of a variable. It is also used to state a negative number, here a minus(-) sign is prefixed to the