View Single Post
  #2 (permalink)  
Old 06-12-2007, 08:53 PM
Ash
Posts: n/a
no it is not legal.
==< is not an operator in C, u can use =<.
i.e.
n1k=fchange=<999/1000;

and now what is the output of this one?
n1k will be 1, if fchnage is equal to or less than.1
why?
coz...
999/1000 gives 0.999
it is convert to integer i.e. 1.
after that assign in n1k.

__________________

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!