C++ interview questions part 15

C++ interview questions part 15

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

Total Questions: 20

1. Where can the default parameter be placed by the user?

Correct Answer is : 1.11E+11

2. Which value will it take when both user and default values are given?

Correct Answer is : 1000001

3. What we can’t place followed by the non-default arguments?

Correct Answer is : both 1 and 2 are true

4. If we start our function call with default arguments means, what will be proceeding arguments?

Correct Answer is : both wchar_t and char

5. What is the default return type of a function?

Correct Answer is : J

6. What do all STL containers define?

Correct Answer is : 10

7. What do we return if we use simple array on a internal container?

Correct Answer is : Implementation dependent

8. What is mandatory for designing a new container?

Correct Answer is : Yes, they are different

9. What are the design requirements for building a container from the sratch?

Correct Answer is : 1

10. How many iterators are needed for the defining a new container?

Correct Answer is : CHAR_BIT

11. What is the use of the allocator interface in the user-defined container?

Correct Answer is : Not allow you to overwrite the bounds of your container

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

Correct Answer is : Arising of compiler warnings & Unchecked behavior on program

13. What is the name of the container which contains group of multiple objects?

Correct Answer is : 2

14. Which is used to tell the computer that where a pointer is pointing to?

Correct Answer is : It will print the multiplied value of the input

15. Which is used to do the dereferencing?

Correct Answer is : 10, 20, 30,

16. What does the dereference operator will return?

Correct Answer is : 5

17. Pick out the correct statement.

Correct Answer is : 66.5

18. Which is dependant on template parameter?

Correct Answer is : 1210

19. Which value is placed in the base class?

Correct Answer is : class contains objects of other class types as its members

20. How many bits of memory needed for internal representation of class?

Correct Answer is : 3

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon