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
How many types of scopes are there in c++?
What is a stack? How it can be implemented?
Which is the best c++ compiler?
Why are pointers used?
Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.
What are the advantages of using typedef in a program?
why is c++ called oops? Explain
Describe friend function & its advantages.
What is the difference between structures and unions?
What is a class definition?
Refer to a name of class or function that is defined within a namespace?
Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?
How many characters are recognized by ANSI C++?
What is else if syntax?
what Is DCS ? what i will get benefit when i did?