adding binary numbers calculator code example
Example: combine binary numbers
long long result;
result = num1;
result = (result << 8) | num2;
result = (result << 24) | num3;
long long result;
result = num1;
result = (result << 8) | num2;
result = (result << 24) | num3;