Pergunta de entrevista da empresa Global Edge Software

how do u swap number using bitwise operator

Resposta da entrevista

Sigiloso

12 de fev. de 2018

#include int main() { int x=10,y=5; x = x^y; y = x^y; x = x^y; printf("After swapping: x=%d, y=%d",x,y); return 0; }

2