What is std::move?
Answer / nashiinformaticssolutions
std::move enables transfer of resources from one object to another, facilitating move semantics.
| Is This Answer Correct ? | 0 Yes | 0 No |
write a program that takes 5 digit no and calculate 2 power that no and print it.
Can we distribute function templates and class templates in object libraries?
Is overriding possible in c++?
What do you understand by a pure virtual member function?
What is the basic concept of c++?
Explain deep copy?
What is virtual destructor? What is its use?
difference between the c++ and c languages
What is a buffer c++?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.
What information can an exception contain?