
Asked in Infosys
What is the code for swapping two numbers?

AnswerBot
5mo
The code for swapping two numbers involves using a temporary variable to store one of the numbers before swapping them.
Declare three variables: a, b, and temp.
Assign values to a and b.
Store the value ...read more
Help your peers!
Add answer anonymously...
Top System Engineer Trainee Interview Questions Asked at Infosys
Q. What is OOPS?
Q. What is SDLC?
Q. Write a Python program to generate the Fibonacci sequence.
Interview Questions Asked to System Engineer Trainee at Other Companies
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

