On Sun, Jun 5, 2011 at 9:59 AM, nicks <crazy.logic.k...@gmail.com> wrote:
> that's what i said changing the order of %f and %d is changing the output > in the 3rd printf.....if you put %f before the %d then it gives you the > expected output..... > > > On Sat, Jun 4, 2011 at 9:10 PM, himanshi narang < > himanshinarang...@gmail.com> wrote: > >> actualy i want to knw dat if i m using integer format for printing a >> floating point number den for *j it is giving 0 but for a[4] its giving some >> value.... >> >> but as u guys says it give unknwn value..den fyn.. >> >> but in 3rd printf wen i am giving integer format before float format its >> giving me 0 n 0.000000.. why not its printing 4.500000 for floating point >> format..... >> >> -- >> 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. > -- 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 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.