i+1 * i+1

= 2 * i + 1

for i = 3, j = 7 (2 *3 + 1)

On Mon, Jul 25, 2011 at 6:06 PM, Arshad Alam <alam3...@gmail.com> 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 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.

Reply via email to