Monday, May 24, 2010

C program to add two non-negative integers , without using +, -, *, /, ++, --, %?

Assume both the no. be less than 16383,Don’t use any standard library function too (except printf and scanf, for output and input).and without using above mentioned operator anywhere in ur programme

C program to add two non-negative integers , without using +, -, *, /, ++, --, %?
I won't write the code for you, but take a look at what he *DIDN'T* tell you not to use. Conspicuously available are all the bitwise operators. Perhaps a binary manipulation answer? Hmmmm....

song words

No comments:

Post a Comment