-
March 4th, 2005, 07:08 PM
#1
Member
A brain teasing exercise??
HI Pals
ok, you all have asked some of triky question(s)... try to make it......
all you have to do is write a c/c++ code for adding two numbers
BUT
1.you can not use any of the operator (directly or indirectly ie. sum must not be calculated by using any opperator)nor even bitwise.
eg.
making a link list equivalent to sum of two numbers and
showing count of the list member as sum is invalid because
u finaly uses '+' operator to calculate sum.
2. you can not use any pre-define function of any header file.
try to make it done without playing with registers
just a simple code........... if you can...... post it here.
please do not post any thing which is not related to this post.
queries regarding the question are most welcome.
it's a braneware
smoking is really bad for ur PC....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|