logo

Crowdly

Browser

Add to Chrome

Порівняйте два фрагменти коду. Які твердження щодо них є правдивими? 1) for (N...

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

Порівняйте два фрагменти коду. Які твердження щодо них є правдивими?

1) for (Node *cur = head; cur != NULL; cur = cur->next)

          cout << cur->item << endl;

2) Node *cur = head;

     while (cur != NULL)

     { cout << cur->item << endl;

        cur = cur->next;

      }

0%
0%
0%
More questions like this

Want instant access to all verified answers on cyber.onua.edu.ua?

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

Browser

Add to Chrome