Question

    Which data structure follows the "last-in, first-out" (LIFO) principle?

    A Queue Correct Answer Incorrect Answer
    B Linked list Correct Answer Incorrect Answer
    C Stack Correct Answer Incorrect Answer
    D Tree Correct Answer Incorrect Answer

    Solution

    Stack operates on LIFO

    Practice Next