View Single Post
  #3 (permalink)  
Old 06-10-2007, 04:50 PM
AboniL
Posts: n/a
you can use go to statement for this, and ternary operator instead of if condition.

void main()
{
int i;

i=1;

loop:
printf("%d", i)
(i<100)? i++: return 0;
go to loop;

}

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!