Question:You have implemented a queue with a linked list keeping track of a front pointer and a rear pointer. Which of these pointers will you change during an insertion into a NONEMPTY queue? 

A Neither of them changes 

B Only front_ptr changes 

C Only rear_ptr changes 

D Both change 

+ Answer
+ Report
Total Preview: 1569

Copyright © 2024. Powered by Intellect Software Ltd