Write a C++ program to sort digits of all the 4 digit number
and display the sorted 4 digit number
Explain the use of vtable.
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 is buffer and example?
Evaluate: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); a) 10 b) 11 c) 1
What is a conversion constructor?
What is the full form of india?
When should we use multiple inheritance?
What about Virtual Destructor?
Why can templates only be implemented in the header file?
Explain pass by value and pass by reference.
Why is c++ a mid-level programming language?
What is a unnitialised pointer?