Ist dies Ihr Unternehmen?
Swap two numbers while not using the temp variable.
Anonym
a = a+b; b = a -b; a= a- b;
using the XOR operator
a = a ^ b b = a ^ b a = a ^ b This will avoid over flows which might come in addition steps
Verschaffe dir einen Vorsprung bei Chancen und Insider-Tipps, indem du deinem Traumunternehmen folgst.
Erhalte personalisierte Jobempfehlungen und Updates, indem du Suchanfragen startest.