logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What are virtual functions?


  • Correct Answer
  • Polymorphism is also achieved in C++ using virtual functions If a function with same name exists in base as well as parent class, then the pointer to the base class would call the functions associated only with the base class However, if the function is made virtual and the base pointer is initialized with the address of the derived class, then the function in the child class would be called 


  • Technology problems


    Search Results


    • 1. Different access specifiers for the class member in C++
    • Discuss
    • 2. Explain storage qualifiers in C++
    • Discuss
    • 3. Where does the allocaters are implemented?

    • Options
    • A. Template library
    • B. Standard library
    • C. C++ code library
    • D. None of these
    • Discuss
    • 4. How the different permutations are ordered in c++?

    • Options
    • A. Compare lexicographicaly to each other elements
    • B. By finding the highest element in the range
    • C. By finding the lowest element in the range
    • D. None of the mentioned
    • Discuss
    • 5. Which keyword is used to declare the min and max functions?

    • Options
    • A. iostream
    • B. string
    • C. algorithm
    • D. None of these
    • Discuss
    • 6. What is a container class?
    • Discuss
    • 7. What is the role of Bug Tracking System?
    • Discuss
    • 8. Describe Bottom-Up and Top-Down approach in Testing.
    • Discuss
    • 9. What is parallel/audit testing?
    • Discuss
    • 10. What is the importance of XML-based layouts?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment