(Choose 1 answer)
What does the following code do?x = 0 p = head while (p != none):x=x+1p = p.next
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
2: 10