× Didn't find what you were looking for? Ask a question
Top Posters
Since Sunday
L
3
d
3
y
3
a
3
n
3
d
3
e
3
d
3
c
3
p
3
M
3
a
3
New Topic  
DePeet DePeet
wrote...
Posts: 338
Rep: 0 0
6 years ago
Refer to Example Code Ch 13-2: Assume Node temp is currently set equal to head.  Which of the following while loops could be used to iterate through each element of a linked list?
a.   while (head != null)
   head = temp.next; 
b.   while (temp != null)
   temp = temp.next;
c.   while (head != null)
   temp = temp.next;
d.   while (head != null)
   head = head.next; 
e.   while (temp != null)
   head = head.next;
Read 57 times
1 Reply
Replies
Answer verified by a subject expert
StingerStinger
wrote...
Posts: 310
Rep: 4 0
6 years ago
Sign in or Sign up in seconds to unlock everything for free
This verified answer contains over 110 words.
1

Related Topics

DePeet Author
wrote...

6 years ago
Thanks
wrote...

Yesterday
Brilliant
wrote...

2 hours ago
Just got PERFECT on my quiz
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  968 People Browsing
Related Images
  
 4811
  
 234
  
 277
Your Opinion
Where do you get your textbooks?
Votes: 447