Exploring the online world is my passion. have experience of #content writing #SEO #Digital Marketing #On-Page #Lead Generation #Content Analyst #Marketing Analyst... I could never stop at one point, continuously wanted to acquire more and more skills. My work for any organization will be full of passion and hard work.
//Initialize two variables X=10 and Y=20 //Sum value of X & Y and assign into X X=X+Y =10+20 =30 //Subtract Y from new value of X=30 and assign into Y Y=X-Y =30-20 =10 //Subtract new value of Y=10 from X=30 and assign into X X=X-Y =30-10 =20 FINAL VALUE OF X IS 20 AND Y IS 10 (X=20 and Y=10)
Liked By
Write Answer
Swapping of two(2) numbers without using third variable?
Join MindStick Community
You have need login or register for voting of answers or question.
Hemant Patel
17-Feb-2017