CSD201_-_SP_2025_-_RE_3731.webp
K

CSD201_-_SP_2025_-_RE_3731.webp

☑Kizspy.me
(Choose 1 answer)
☐ A
Consider the fun() method in a singly linked list below:
void fun()
{if (isEmpty()) return;
if (head == tail)
head tail = null;
Back
else head
}
head.next;
Next
Specify the correct statement about the fun() method in the code above (choose the most suitable one).
A. It removes the last element of the list
B. It removes the first element of the list
C. It removes the second element of the list
D. It returns the first element of the list
FUO.sh
sh the exam.

Thông tin

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

Share this media

Back
Bên trên Bottom