output is 10 using gcc 4.5.2 Yanan Cao
On Mon, Aug 22, 2011 at 2:18 PM, sagar pareek <sagarpar...@gmail.com> wrote: > Yeah its o/p is 10 :) > > > On Tue, Aug 23, 2011 at 12:45 AM, Deepak Garg <deepakgarg...@gmail.com>wrote: > >> its output is >> >> 10 >> >> >> On Tue, Aug 23, 2011 at 12:03 AM, rohit <rajuljain...@gmail.com> wrote: >> >>> #include<stdio.h> >>> >>> #define max(a,b) (a>b?a:b) >>> >>> >>> int main() >>> { >>> >>> int j=max(3+2,2+8); >>> printf("%d",j); >>> >>> return 0; >>> } >>> >>> why this program show output as 9 ? please help me!!!! >>> >>> -- >>> 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. >>> >>> >> >> >> -- >> U.D.I.T >> >> Sent by Nokia OVI (c) >> >> -- >> 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. >> > > > > -- > **Regards > SAGAR PAREEK > COMPUTER SCIENCE AND ENGINEERING > NIT ALLAHABAD > > -- > 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. > -- 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.