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 single and multiple inheritances in c++?
Which ide is best for c++?
Explain what is polymorphism in c++?
What are keywords in c++?
What is the arrow operator in c++?
How do you master coding?
Explain the properties and principles of oop.
What are the types of container classes?
What are the differences between the function prototype and the function defi-nition?
Explain dangling pointer.
What is the function of I/O library in C++ ?
Can I learn c++ as my first language?
Where and why do I have to put the "template" and "typename" keywords?
What is the last index number in an array of 100 characters a) 100 b) 99 c) 101
What is ostream in c++?