*pass1 fail2 fail2 this will be the o/p of above code what is the problem in this? this is perfectly fine.. *Thanking you
*With regards- Raghav garg Contact no. 9013201944 www.facebook.com/rock.raghavag B. tech (IT), 5th sem University School Of Information Technology Guru Govind Singh Indraprastha University Delhi* On Sat, Oct 8, 2011 at 12:40 AM, SHIVAM AGRAWAL <[email protected]> wrote: > #include<stdio.h> > main() > { > char c=-64; > int i=-32; > unsigned int u =-16; > if(c>i) > { > printf("pass1"); > if(c<u) > printf("pass 2"); > else > printf("fail 2"); > } > else > printf("fail 1"); > if(i<u) > printf("pass2"); > else > printf("fail2"); > > } > > -- > 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. > -- 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.
