Answer Posted / sachin magdum
1. "assigning" - don't use this word, it should be
initializing an object using another object of same type
2. When the object is passed to function - "by value"
3. when a function returns the object type - "by value"
here doesn't matter if you are assigning that returned
value to to another object or not.
Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
Explain the difference between c++ and java.
What are maps in c++?
What is cout flush?
What is a far pointer? where we use it?
Explain "const" reference arguments in function?
Explain what are the sizes and ranges of the basic c++ data types?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
what does the following statement mean? int (*a)[4]
What is private public protected in c++?
Can we sort map in c++?
What is runtime polymorphism in c++?
Is it possible to have a recursive inline function in c++?
How long will it take to learn programming?
Explain this pointer?
Which operator cannot be overloaded c++?