C++ interview questions part 33

C++ interview questions part 33

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. How many parameters are needed for minmax function?

Correct Answer is : function objects

2. Which function is used to return the minimum element in the range?

Correct Answer is : 200

3. Which operator is used to compare the values to find min and max?

Correct Answer is : 200

4. What is the use of middle parameter in rotate method?

Correct Answer is : 45326

5. What kind of object is modifying sequence algorithm?

Correct Answer is : 2.1

6. How the sequence of objects can be accessed?

Correct Answer is : constant expression

7. How many kind of operation can be applied to transform method in c++?

Correct Answer is : template

8. What operator is used to remove the dupplicates in the range?

Correct Answer is : template void(T a){cout<

9. which of the following is used to implement the c++ interfaces?

Correct Answer is : A function taking a single generic parameter and returning nothing

10. What is the ability to group some lines of code that can be included in the program?

Correct Answer is : A function taking a single generic parameter and returning a generic type

11. How many types do functions fall depends on modularization?

Correct Answer is : A function taking a single generic parameter and returning a generic type which may be different from argument type

12. How many types of modularization are there in c++?

Correct Answer is : Error

13. What does the client module import?

Correct Answer is : 55.5

14. Identify the correct statement.

Correct Answer is : 55

15. Which of the following implements the module in the program?

Correct Answer is : replace templates T, U with auto keyword

16. Which container is used to store elements as key-value pair?

Correct Answer is : func(3,’a’);

17. Which container can have the same keys?

Correct Answer is : int

18. Which container is best to keep the collection of distinct elements?

Correct Answer is : A function that is expanded at each call during execution

19. Which container is used to keep priority based elements?

Correct Answer is : run-time

20. Sets are implemented using _______________________

Correct Answer is : i, iii, iv

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon