Computer Science, asked by vidhupriya, 11 months ago

Read two integers as input and swap them using call by reference, without using a third variable.

Answers

Answered by xMaNaSx
1

Answer:

there u go

Explanation:

int main()

{

int a, b;

printf("Enter two numbers: ");

scanf("%d %d", &a, &b);

a = a ^ b;

b = a ^ b;

Similar questions