Amandeep Pasricha14,928 Points
What would happen if search; was written inside the whole loop than outside of it?
They wrote while; outside the while loop. What if it was inside the loop?
Steven Parker177,955 Points
In this video, the code that works with "search" is inside the loop (defined by "while (true)").
What part do you see outside the loop?