logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What do vectors represent?


  • Options
  • A. Static arrays
  • B. Dynamic arrays
  • C. Stack
  • D. Queue

  • Correct Answer
  • Dynamic arrays 

    Explanation

    Vectors are sequence containers representing arrays that can change in size.


  • Technology problems


    Search Results


    • 1. To which type of class, We can apply RTTI?

    • Options
    • A. Encapsulation
    • B. Polymorphic
    • C. Derived
    • D. None of these
    • Discuss
    • 2. Which operator is used in catch-all handler?

    • Options
    • A. ellipses operator
    • B. ternary operator
    • C. string operator
    • D. unary operator
    • Discuss
    • 3. What is meant by exception specification?

    • Options
    • A. A function is limited to throwing only a specified list of exceptions.
    • B. A catch can catch all types of exceptions.
    • C. A function can throw any type of exceptions.
    • D. none of the mentioned
    • Discuss
    • 4. How many ways of reusing are there in class hierarchy?

    • Options
    • A. 1
    • B. 2
    • C. 3
    • D. 4
    • Discuss
    • 5. What is an explicit constructor?
    • Discuss
    • 6. What is mandatory for designing a new container?

    • Options
    • A. Classes
    • B. Iterators
    • C. Container
    • D. None of these
    • Discuss
    • 7. Explain one-definition rule (ODR).
    • Discuss
    • 8. What are the advantages of using friend classes?
    • Discuss
    • 9. .What are Stacks? Give an example where they are useful.
    • Discuss
    • 10. Exlpain STL.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment