✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What will be printed by the following code?
void printList() {
struct node *p = head;
while (p != NULL) {
printf("%d ", p->data);
p = p->next;
}
}
If head == NULL, the output is: