AMD Interview Question: Write a C program to swap two... | Glassdoor

Interview Question

Summer Co-op Interview San Jose, CA

Write a C program to swap two nos without using third

  variable
Answer

Interview Answer

2 Answers

0

told

Interview Candidate on Apr 26, 2012
0

a=a+b;
b=a-b;
a=a-b;

Anonymous on Jun 20, 2017

Add Answers or Comments

To comment on this, Sign In or Sign Up.