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
how to get plus asterisk pattern

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

(a) Write a procedure (count-even n) that counts the number of even digits in the decimal representation of the number n. For example, (count-even 234) should return 2. (b) Writ

A virtual function permits derived classes to replace the implementation given by the base class. The compiler makes sure the replacement is always known as whenever the object in

PROGRAM TO FIND WHETHER A NUMBER IS ODD OR EVEN int main() { int number ; printf("Enter a whole number\n"); scanf("%d",&number); if(number % 2 == 0) printf("n

Write a function to determine whether a number is prime: it will return true if the input is prime and false otherwise. Use it to see whether -7 is prime.

Flash my terminal vx670 Project Description: Have VeriFone software need it to communicate with the vx670 through com port 1 it is not talking I'm not sure why have all the r

Write a C# program to compute the Net Pay for employees. The program is to have a Main method and two user-defined methods. The Main method is to input the employee's name (string)

define a class for student

Addition of array elements: #define rows 3 #define cols 3 void main() {                 int i=0,j=0,sum=0;                 int arr[rows][cols];