Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

Will loop ever terminate???


  • Please log in to reply
1 reply to this topic

#1 Guest_kphilux_*

  • Guest

Posted 05 March 2007 - 06:38 AM

Hi i am trying to discuss wether this loop will ever terminate any help would be much appreciated!

signed int i=1
while (i>0)
  • 0

#2 Deathcry


    CC Resident

  • Just Joined
  • PipPipPipPip
  • 67 posts

Posted 05 March 2007 - 08:20 AM

no since i will always be greater than 0
  • 0
the code is with you

Also tagged with one or more of these keywords: loop

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download