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 do you flush a buffer in c++?
Which function cannot be overloaded c++?
an operation between an integer and real always yeilds a) integer result b) real result c) float result
What is lambda expression c++?
What is using namespace std in c++?
What is the use of default constructor?
Write a program to add three numbers in C++ utilizing classes.
Is turbo c++ free?
What does flush do?
Are there interfaces in c++?
Write a note about the virtual member function?
Is it possible to use a new for the reallocation of pointers ?
What is an adaptor class or wrapper class in c++?
What are the types of array in c++?
What are structures and unions?