I have three objects in C and c++ A,B,C .
will it be correct or not? explain with proper reason:-
C=A+B; //in c
C=A+B; // in c++
In c++ without operator overloading,give me answer.
Printable View
I have three objects in C and c++ A,B,C .
will it be correct or not? explain with proper reason:-
C=A+B; //in c
C=A+B; // in c++
In c++ without operator overloading,give me answer.
This seems like a homework question. Is it? In that case, I would ask if you know the answer yourself.
Try It.
- First post
- Wrong forum
- Homework question
<clap><clap>
Epic fail.
Another unhelpful and useless reply. What do you gain from this? What does the OP gain from this? Does everyone need to keep on repeating the obvious which has already been said?
Stop this nonsense. It adds nothing to what has already been said and helps neither side.
This is the wrong forum and the wrong place to dump homework. If you really want to know the answer to your question, get a compiler and test it or follow your lesson or textbook closely.