what is while(5)? Is it the same as while(1)?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dic0nd3r
    New Member
    • Feb 2013
    • 1

    what is while(5)? Is it the same as while(1)?

    i know that while(1) is infinite loop, so can i chane 1 by other values like 2,5,9,5...is it possible without error....???
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    It's the same. But you know you could have just put in the code and tested it right?

    Comment

    • donbock
      Recognized Expert Top Contributor
      • Mar 2008
      • 2427

      #3
      You can change to any nonzero value and get the same results.

      Comment

      Working...