✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the output?
struct node *a = malloc(sizeof(struct node));
struct node *b = malloc(sizeof(struct node));
a->data = 1;
b->data = 2;
a->next = b;
b->next = a;
printf("%d %d", a->next->data, b->next->data);
!