Give example of a pure virtual function in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is a constructor and how is it called?
What is #include sstream?
Explain the difference between using macro and inline functions?
write the programme that convert a interger to biniry number
Why iomanip is used in c++?
List the types of polymorphism in c++?
class basex { int x; public: void setx(int y) {x=y;} }; class derived : basex {}; What is the access level for the member function "setx" in the class "derived" above? a) private b) local c) global d) public e) protected
Can I learn c++ without c?
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.
Explain the differences between private, public and protected and give examples.
What is the array and initializing arrays in c++?
Differentiate between structure and class in c++.