can i add two numbers without using arthemetic operators. can any one do it.
vvidyadhara
0
Newbie Poster
Recommended Answers
Jump to Post> can i add two numbers without using arthemetic operators
I've no idea what you can or cannot do, but since you're asking, my guess is you can't.
Jump to PostIn order for you to understand the answer to you question you need to know about XOR, AND and SHIFT bitwise operators.
Let's add 3 + 5:integer1 = 3 = 0011b integer2 = 5 = 0101b first operation second operation third operation 0011 0011 shift by …
All 5 Replies
Salem
5,138
Posting Sage

iamthwee
Aia
1,977
Nearly a Posting Maven
amitp49
0
Newbie Poster
karthi.k.s
-7
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.