English

How does the peek() function of queue read the element at the front?

Advertisements
Advertisements

Question

How does the peek() function of queue read the element at the front?

Options

  • using index 0

  • pop()

  • append()

  • read()

MCQ
Advertisements

Solution

read()

shaalaa.com
  Is there an error in this question or solution?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×