Hi tarak,
output is right, because every printf print 1 so there is 3 printf call...so
111 is right

On Thu, Jul 29, 2010 at 2:16 PM, tarak mehta <[email protected]> wrote:

> #include<stdio.h>
> int main()
> {
> int i=1;
> printf("%d\n",printf("%d",printf("%d",i))); return 0;
> }
>
>
> output is 111..i was expecting it to be 11..plz explain??
>
> --
> 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]<algogeeks%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>


-- 
Thanks & Regards

Umesh kewat

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