i just used that statement and cout it.. i got junk value..
what is the input format for this?

On Aug 13, 10:18 pm, Gaurav Menghani <gaurav.mengh...@gmail.com>
wrote:
> It is just displaying the floating point in the specified precision
> format. The internal representation is obviously unchanged.
>
>
>
> On Sat, Aug 13, 2011 at 10:44 PM, Prakash D <cegprak...@gmail.com> wrote:
> > i dont think we can set precision during scanf
>
> > On Sat, Aug 13, 2011 at 9:49 PM, Anika Jain <anika.jai...@gmail.com> wrote:
>
> >> @gaurav: nyc one ;) how u made this one well?
>
> >> On Sat, Aug 13, 2011 at 6:14 PM, SANDEEP CHUGH <sandeep.aa...@gmail.com>
> >> wrote:
>
> >>> lol
>
> >>> On Sat, Aug 13, 2011 at 6:12 PM, Gaurav Menghani
> >>> <gaurav.mengh...@gmail.com> wrote:
>
> >>>>http://lmgtfy.com/?q=scanf+float+precision+format
>
> >>>> On Sat, Aug 13, 2011 at 5:42 PM, SuDhir mIsHra
> >>>> <sudhir08.mis...@gmail.com> wrote:
> >>>> > e g: scanf("%2.4d",&a);
>
> >>>> > --
> >>>> > 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.
>
> >>>> --
> >>>> Gaurav Menghani
>
> >>>> --
> >>>> 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.
>
> >> --
> >> 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.
>
> --
> Gaurav Menghani

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