-
What are the use of front and rear pointers in CircularQueue implementation?
-
- Rear pointer points to first element; front pointer points to the last element
- Front pointer points to the first element; rear pointer points to null object
- Front pointer points to first element; rear pointer points to the last element
- Front and read pointers point to the first element
- None of these
Correct Option: D
CircularQueue implementation is an abstract class where first and rear pointer point to the same object.