Question

In a queue, the initial values of front pointer f rare pointer r should be …….. and ……….. respectively.

A 0 and 1
B 0 and -1
C -1 and 0
D 1 and 0
Answer & Explanation
Option: [B]