+ 1
Write a program in C to add two numbers without using + operator?
5 Respostas
+ 4
Can we do it in C++?
int a, b;
std::vector<int> v = {a,b};
int sum = std::accumulate(v.begin(), v.end(), 0);
+ 1
https://code.sololearn.com/c1s6Mlfra02c/?ref=app
+ 1
I can do -(-a-b) instead of a+b but I do not think this is what you wanted ^^
0
try reducing the size