output will be
2 garbage_value

scanf returns numbers of inputs taken from std input and since there should
be 2 arguments in printf according to the format, so garbage value will
print

On Wed, Sep 22, 2010 at 2:25 PM, rahul rai <[email protected]> wrote:

> "printf("%d%d",scanf("%d%d",&a &b))"
>
> --
> Rahul K Rai
> [email protected]
>
> --
> 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.
>
>


-- 
.... :-)
*****************************************
Nishant Agarwal
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.

Reply via email to