thanks to all of you On Mon, Jul 25, 2011 at 6:10 PM, sagar pareek <[email protected]> wrote:
> macro will be evaluated as > j=(x+1*x+1); // i=3 so o/p will be j=3+1*3+1=7 > > On Mon, Jul 25, 2011 at 6:06 PM, Arshad Alam <[email protected]> wrote: > >> what should be the output of the following and how.. >> >> >> #include<stdio.h> >> #include<conio.h> >> #define PRODUCT(x) (x*x) >> void main() >> { >> clrscr(); >> int i=3,j; >> j=PRODUCT(i+1); >> printf("\n%d",j); >> getch(); >> } >> >> -- >> 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. >> > > > > -- > **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 [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.
