What is the difference between the functions rand(), random(), srand() and randomize()?
No Answer is Posted For this Question
Be the First to Post Answer
What is a string example?
How is modularity introduced in 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.
Consider a c++ template funtion template<class T> T& Add(T a, T b){return a+b ;} if this function is called as T c = Add("SAM", "SUNG"); what will happen? What is the problem in the template declaration/ How to solve the problem.
What are the four main data types?
what are the iterator and generic algorithms.
What is c++ code?
What is a float in c++?
What things would you remember while making an interface?
What are smart pointer? Whats its use?
What are the differences between the function prototype and the function defi-nition?
What can c++ be used for?