since u havnt written da break statement...the case '1' also gets executed..and then when the break statement is encountered..the control comes out of the switch case
On Wed, Mar 23, 2011 at 8:27 PM, cegprakash <[email protected]> wrote: > why do i get "one" after "default"? > > -- > 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. > > -- 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.
