logo

Crowdly

Browser

Add to Chrome

Нехай дано опис структури даних на мові С: struct mmm {    int x;    mmm...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Нехай дано опис структури даних на мові С:

struct mmm {

   int x;

   mmm *next;

} *head, *p1, *p2;

За фрагментом програми визначіть структуру, що утворюється за її допомогою:

head=(mmm*)malloc(sizeof(mmm));

scanf(“%d”, &xx);

head->x=xx;

head->next=null;

p1=head;

scanf(“%d”, &xx);

while

(xx!=0) {

p2=(mmm*)malloc(sizeof(mmm));

p2->x=xx;

p2->next=null;

p1->next=p2;

p1=p2;

scanf(“%d”, &xx); }

p1->next=head;

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

Want instant access to all verified answers on vns.lpnu.ua?

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

Browser

Add to Chrome