Question

    Stacks operates on the principle of

    A First in First Out Correct Answer Incorrect Answer
    B Highest in First Out Correct Answer Incorrect Answer
    C Last in Last Out Correct Answer Incorrect Answer
    D Last in First Out Correct Answer Incorrect Answer
    E Both 1 & 2 Correct Answer Incorrect Answer

    Solution

    The order in which elements come off a stack gives rise to its alternative name, LIFO (for last in, first out).

    Practice Next

    Relevant for Exams: