logo

Crowdly

Browser

Add to Chrome

Методом наскрізного перегляду коду протестуйте програму та визначте, що виконуєт...

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

Методом наскрізного перегляду коду протестуйте програму та визначте, що виконується у фрагменті програми

int i;

struct s { int number; char name;struct spysok *next; };

struct s * current, *first, *last;

first=(struct s*)malloc(sizeof(struct s));

first->next=NULL;

first->number=0;

gets(first->name);

last=first;

for(i=1;i<10;i++)

{

current=(struct s*)malloc(sizeof(struct s));

current->number=i;

gets(current->name);

current ->next=NULL;

last->next=current;

last=last->next;

}

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

Want instant access to all verified answers on exam.nuwm.edu.ua?

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

Browser

Add to Chrome