Can this be explained in context of numbers which are out of integer range
?

On Mon, Aug 30, 2010 at 10:36 PM, Yan Wang <[email protected]>wrote:

> It's miracle can you explain?
>
> On Sun, Aug 29, 2010 at 8:07 PM, Terence <[email protected]> wrote:
> >  Try this:
> >
> > int main()
> > {
> >  int data = (int)0x80000000; // Initialize data during run time
> >  if ( data == -data && data!=0)
> >    printf ("Miracle!!");
> > }
> >
> >
> > On 2010-8-28 1:45, Raj N wrote:
> >>
> >> int data; // Initialize data during run time
> >> if ( data == -data&&  data!=0)
> >>         printf ("Miracle!!");
> >>
> >> Will miracle ever print ?
> >>
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Algorithm Geeks" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<algogeeks%[email protected]>
> .
> > For more options, visit this group at
> > http://groups.google.com/group/algogeeks?hl=en.
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<algogeeks%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>

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

Reply via email to