2
answers
0
watching
103
views
12 Jun 2018

35. Why do we check on line 20 of code 5 that nodel is not equal to node2? N.B. reread the header of this section. (A) To check if nodel is neighbour with node2 (B) It serves no real purpose (C) The code is wrong is should be if (nodel == node 2) (D) We want to make sure that we do not connect a node to itself (E) To avoid an infinite loop

For unlimited access to Homework Help, a Homework+ subscription is required.

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in
Lelia Lubowitz
Lelia LubowitzLv2
13 Jun 2018
Already have an account? Log in
Start filling in the gaps now
Log in