logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • How the member functions in the container can be accessed?


  • Options
  • A. Iterator
  • B. Indirect
  • C. Both a & b
  • D. None of these

  • Correct Answer
  • Iterator 

    Explanation

    The container manages the storage space for its elements and provides member functions to access them, either directly or through iterators which reference objects with similar properties to pointers.


  • Technology problems


    Search Results


    • 1. Which is best for coding the standard libary for c++?

    • Options
    • A. no trailing underscores on names
    • B. complex objects are returned by value
    • C. have a member-swap()
    • D. All of the mentioned
    • Discuss
    • 2. What is the Run-Time Type Information?

    • Options
    • A. Information about an object?s datatype at runtime
    • B. Information about the variables
    • C. Information about the given block
    • D. None of these
    • Discuss
    • 3. What of the following describes protected access specifier?

    • Options
    • A. The variable is visible only outside inside the block
    • B. The variable is visible everywhere
    • C. The variable is visible to its block and to it?s derived class
    • D. None of these
    • Discuss
    • 4. What will happen when introduce the interface of classes in a run-time polymorphic hierarchy?

    • Options
    • A. Separation of interface from implementation
    • B. Merging of interface from implementation
    • C. Separation of interface from debugging
    • D. None of the mentioned
    • Discuss
    • 5. Where does the standard exception classes are grouped?

    • Options
    • A. namespace std
    • B. error
    • C. catch
    • D. none of these
    • Discuss
    • 6. What does the sequence adaptor provide?

    • Options
    • A. Insertion
    • B. Deletion
    • C. Interface to sequence container
    • D. None of thse
    • Discuss
    • 7. How many items are presented in the associate container?

    • Options
    • A. 2
    • B. 3
    • C. 4
    • D. 5
    • Discuss
    • 8. How many parameters are present in mismatch method in non-sequence modifying algorithm?

    • Options
    • A. 1
    • B. 2
    • C. 3
    • D. 4
    • Discuss
    • 9. What kind of object is modifying sequence algorithm?

    • Options
    • A. Function template
    • B. Class template
    • C. Method
    • D. None of these
    • Discuss
    • 10. What is the kind of execution does sequence point allow?

    • Options
    • A. Non-overlap
    • B. Overlap
    • C. Concurrent
    • D. None of these
    • Discuss


    Comments

    There are no comments.

Enter a new Comment