it is just printing some garbage value as u have specified return but not
the value.........try putting some value with return then you'll understand
what's happening..
--


Amol Sharma
Third Year Student
Computer Science and Engineering
MNNIT Allahabad
<http://gplus.to/amolsharma99>
<http://twitter.com/amolsharma99><http://in.linkedin.com/pub/amol-sharma/21/79b/507><http://youtube.com/amolsharma99>





On Sun, Sep 18, 2011 at 12:38 PM, sukran dhawan <sukrandha...@gmail.com>wrote:

> result is not defined by standard c. It doesnt produce compiler error just
> because return type is int and no value is returned in if(1>0)

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to