Question

    Which of the operation is used to see the top element of

    stack?
    A peek() Correct Answer Incorrect Answer
    B pop() Correct Answer Incorrect Answer
    C push() Correct Answer Incorrect Answer
    D push_back() Correct Answer Incorrect Answer
    E None Correct Answer Incorrect Answer

    Solution

    The correct answer is A

    Practice Next