Awesome Saurabh. Hats off man:) On Mon, Aug 29, 2011 at 2:43 PM, saurabh singh <[email protected]> wrote:
> @dave well that was basically a query if it is possible to eliminate all > the operators and do something like addition operation.I am sorry if I > presentted my question in the wrong way....I am bad at explaining things.:( > Going by your previous records I am not elibigle to contradict you..... > > > On Mon, Aug 29, 2011 at 9:02 AM, Dave <[email protected]> wrote: > >> @Saurabh: Function calls and commas are operators, so that leaves out >> your clever printf solution. >> >> See >> http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B#Other_operators. >> >> Dave >> >> On Aug 28, 9:32 pm, saurabh singh <[email protected]> wrote: >> > @dave even '=' is an operator.....I wonder if its possible to restrict >> *all >> > operators*..... >> > >> > >> > >> > >> > >> > On Sun, Aug 28, 2011 at 1:32 AM, Dave <[email protected]> wrote: >> > > @Brijesh: Maybe you mean >> > >> > > char *p; >> > > p = (char*)a; >> > > sum = (int)&p[b]; // sum = a + b >> > >> > > but & is an operator. >> > >> > > Dave >> > >> > > On Aug 27, 2:07 pm, Brijesh <[email protected]> wrote: >> > > > How to add two nos without using any operator...? >> > >> > > -- >> > > 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. >> > >> > -- >> > Saurabh Singh >> > B.Tech (Computer Science) >> > MNNIT ALLAHABAD- 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 [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. >> >> > > > -- > Saurabh Singh > B.Tech (Computer Science) > MNNIT 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. > -- With Regards Manish Patel BTech Computer Science And Engineering National Institute of Technology -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.
