compiler error?? if the void is replaced by int, ans=155.

On Sat, Jun 18, 2011 at 11:33 AM, Balaji S <[email protected]> wrote:

> main()
>  { int i=5;
>  printf("%d",fun(fun(fun(fun( fun(i))))));
> }
>  void fun (int i)
>  {
> if(i%2)
> return (i+(7*4)-(5/2)+(2*2));
>  else
>
>
> return (i+(17/5)-(34/15)+(5/2));
> }
>
>
>
> --
> With Regards,
>     Balaji.S
>
>  --
> 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.
>



-- 
Harshal Choudhary,
III Year B.Tech CSE,
NIT Surathkal, Karnataka, India.

-- 
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.

Reply via email to