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 is a static element?
Define 'std'.
What are c++ manipulators?
what is multi-threading in C++?
Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
What are virtual functions in c++?
Difference between pointer to constant vs. Pointer constant
Which programming language is best?
How do you clear a set in c++?
can any one help to find a specific string between html tags
which is changed to a sting..
weather.html looks (for location) is
What is the last index number in an array of 100 characters a) 100 b) 99 c) 101
What is functions syntax in c++?
What is the difference between strcpy() and strncpy()?
Can a constructor return a value?
What is extern c++?