Consider the following code snippet in C language that computes the number of nodes in a non-empty singly linked list pointed to by the pointer variable
Which one of the following options gives the correct replacements for the expressions E1 and E2?
head.
c
- AE1:
head == NULLE2:1 + getListSize(head) - BE1:
head -> next == NULLE2:1 + getListSize(head -> next) - CE1:
head == NULLE2:1 + getListSize(head -> next) - DE1:
head -> next == NULLE2:1 + getListSize(head)

