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
Manipulators There are several classes in the iostream.h header file. One of them is ios class. This class stores the format state. For example, some bits explain the base in w

Many human diseases could be controlled by the knowledge of the gene’s structure and pattern. The human gene could be represented by four nucleotides. Each nucleotide is represente

A: #include // Test to see if pointer hopping is worthwhile. // strlen implemented with usual indexing mechanism. int strlen1( const char str[ ] ) { int i; for( i =

w.a.p to find outWrite a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b.

source code for padovan string

Damjibhai and Shamjibhai are two jeweler friends. They decide to play a simple game. The game comprises of removing the jewels for polishing, turn by turn. Once a jewel is removed

Determine the types of Container class Container class can be of 2 types: - Heterogeneous container - Here container class comprise a group of mixed objects - Homogeneou

Write in a file: void main() { int i,j,k,l,list[1000]; FILE *fp; char any[8];   cout cin >> any;   fp = fopen(any,"wb");     for(j=0;j     {

C Program to copy the contents of a file: void main()    {   ifstream fin("input.txt");   ofstream fout("output.txt");   char ch;   while (fin)       {

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