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
What are c++ manipulators?
What is a manipulative person?
What is a wchar_t in c++?
what is C++ objects?
What are the advantages of early binding?
How would you use qsort() function to sort an array of structures?
What new()is different from malloc()?
How to give an alternate name to a namespace?
In what situations do you have to use initialization list rather than assignment in constructors?
How is objective c different from c++?
Are vectors faster than arrays?
What does I ++ mean in c++?
Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()
What are the basic data types used in c++?
What is a hashmap c++?