☑Kizspy.me
(Choose 1 answer)
☐ A
Back
Next
FUQ.sh
sh the exam.
What does the following code do? (Choose the best answer)
x=0
p = head
while (p = none):
x=x+1
p = p.next
print(x)
A. Insert a new node to the front of a linked list
B. Calculate the size of a linked list
C. Traverse the linked list
D. Insert a new node to the end of the linked list