logo

Crowdly

Browser

Add to Chrome

What is the output? struct node *a = malloc(sizeof(struct node)); struct node ...

✅ 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);

!
0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.usthlearningsupport.vn?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome