Read two integers as input and swap them using call by reference, without using a third variable.
Answers
Answered by
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
English,
5 months ago
Hindi,
5 months ago
Computer Science,
11 months ago
Biology,
11 months ago
Math,
1 year ago