Q11_6_20250829131247.webp
Goku777

Q11_6_20250829131247.webp

  • Media owner Goku777
  • Ngày thêm
☑Kizspy.me
(Choose 1 answer)
☐ A
Select the statement that is most correct.
Suppose we are considering a doubly linked list and p is some node in the list which has both predecessor
and successor nodes. What does the java code snippet below do?
Node p1,p2; p1 = p.prev; // prev is a link to previous node
p2-p.next; p2.prev = p1;
p1.next = p2;
A. It deletes the node p.
B. It deletes the node before p.
C. It deletes the node after p.
D. It does not make any change on the list.
Back
Next
FUO.sh
sh the exam.

Thông tin

Category
CSD201
Thêm bởi
Goku777
Ngày thêm
Lượt xem
2,279
Lượt bình luận
4
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom