C++ interview questions part 61

C++ interview questions part 61

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

Total Questions: 20

1. What do vectors represent?

Correct Answer is : It is the collection of class definitions for standard data structures and a collection of algorithms

2. In which type of storage location are the vector members stored?

Correct Answer is : count

3. How many vector container properties are there in c++?

Correct Answer is : Contains the standard exception files

4. Pick out the correct statement about vector.

Correct Answer is : 343

5. Which is optional in the declaration of vector?

Correct Answer is : 1.3

6. Which of the following library is used to do vector arithmetic?

Correct Answer is : 10.6

7. Which header file is used to manipulate the vector algebra in c++?

Correct Answer is : tan

8. What type of reference should be used in vector arithmetic?

Correct Answer is : 2

9. What will be the type of output of vector cross product?

Correct Answer is : 4

10. Which function is used to optimize the space in vector?

Correct Answer is : Containers store objects and data

11. What is the use of vector arithmetic in c++?

Correct Answer is : 4

12. Which of the following will not return a value?

Correct Answer is : Containers that implements data structures which can be accessed sequentially

13. ____ have the return type void?

Correct Answer is : 5

14. What does the following statement mean? void a;

Correct Answer is : Containers that implements sorted data structures for fast search in O(logn)

15. Choose the incorrect option

Correct Answer is : 4

16. What is vtable in C++?

Correct Answer is : Containers that provide a different interface for sequential containers

17. Which classes can have vtable?

Correct Answer is : 3

18. What is the full form of vtable?

Correct Answer is : Iterators are used to point memory addresses of STL containers

19. What is vptr?

Correct Answer is : 5

20. What is the full form of vptr?

Correct Answer is :

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon