logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Difference between Stack and Queue


  • Correct Answer
  • Stack is a collection of objects that works in LIFO (Last in First out) mechanism while Queue is FIFO (First in First out) This means that the object that is inserted first is removed last in a stack while an object that is inserted first is removed first in a queue 


  • Technology problems


    Search Results


    • 1. What do you mean by stack unwinding?
    • Discuss
    • 2. What is a Wrapper class?
    • Discuss
    • 3. Exlpain STL.
    • Discuss
    • 4. .What are Stacks? Give an example where they are useful.
    • Discuss
    • 5. What are the advantages of using friend classes?
    • Discuss
    • 6. What is the scope resolution operator?
    • Discuss
    • 7. Differentiate between realloc() and free().
    • Discuss
    • 8. List the advantages of inheritance
    • Discuss
    • 9. What is the role of QA in a project development?
    • Discuss
    • 10. What is severity and priority of bug? Give some example.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment