

You should also not use the increment "++" operator too.
You are given A = 4, B = 6, their sum = 10, you need to return 10.
The first line contains an integer ‘T’ which denotes the number of test cases or queries to be run. Then the test cases are as follows.
The first and only line of each test case contains two space-separated integers denoting ‘A’ and ‘B’ respectively.
For each test case, print the sum of the two numbers without using the “+” operator.
Print the output of each test case in a separate line.
You don’t need to print anything; It has already been taken care of.
1 <= T <= 100
-10000 <= A, B <= 10000
where ‘T’ is the number of test cases and ‘A’ and ‘B’ are the two integers.
Time limit: 1 sec
This is a very basic approach. In this approach, we will be simply subtracting the negative of the second number from the first number.
In this approach, we will use the logic behind the half adder that is used to find the sum of single bits and extend it so that we could add integers.
To understand it better, let’s take an example of some numbers that use carry:
Suppose A = 6 and B = 7:
Pair Product Div by K
Pair Product Div by K
Merge Two Sorted Arrays Without Extra Space
Merge Two Sorted Arrays Without Extra Space
Co-Prime
First Digit One
Special Digit Numbers