The logic which I have posted , it works on that principle only . Take a good look . It is the standard way fopr finding the power of a number . (a^b)
You take and example for a=3 and b=4 and test it in My posted code . then you will understand wht is happening . On Jul 19, 9:45 pm, snehi jain <snehijai...@gmail.com> wrote: > @Rishab Thanks .. > could you explain what your are doing in the function exp().. > > On Tue, Jul 19, 2011 at 9:47 PM, Rishabh Maurya <poofiefoo...@gmail.com>wrote: > > > > > Yes its running fine at gcc 4.3.2 . And it might show warning in that case > > just change the name of the function exp(). > > > -- > > 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.- Hide quoted text - > > - Show quoted text - -- 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.