Get Off-Campus Placement Jobs Info !!!
Programs asked in Mettl Coding Round
Click To Practce List of Programs asked in Nagarro !!!

Program Discussion :: Basics

Home > Programs > Basics

7 / 248

Write code for swapping two variables without using 3rd variable.

Answer:

#include
#include
# include 
using namespace std;
main()
{
int a=10, b=20;
clrscr();
cout

Asked In :: Wipro TCS Syntel Inc. Sapient Capgemini

Post Your Answer Here:

Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here: