miracle never print on the screen. Because first preference is == and != after that &&. So data == -data is wrong so (0 && data!=0) is also wrong.
On 29 August 2010 21:17, mohit <[email protected]> wrote: > i think "never". > > On Aug 27, 10:45 pm, Raj N <[email protected]> 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]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
