filmov
tv
How to swap two numbers without using third variable | C program | swapping without third variable
![preview_player](https://i.ytimg.com/vi/u9XATR8Do0o/maxresdefault.jpg)
Показать описание
Hello Friends
Welcome to MC Coder 🤗🤗
In this video we will learn how to swap two numbers without using third variable.
Q. A = 20 and B = 40 perform swapping between A and B without using thrid variable.
Logic :-
A = A + B;
B = A – B;
A = A – B;
Answer :-
Now, we put values of a and b in above logic.
A = 20 + 40 = 60
B = 60 – 40 = 20
A = 60 – 20 = 40
after performing above operation values will be,
A = 40
B = 20
Please subscribe to MC Coder, if this video is helpful for you and never forget to click the bell🔔 icon for never missing my latest videos.
Thanks 😇🙏
==========================================
Swapping between two numbers without using third variable C program
Download code for free by using below link👇👇
==========================================
Download Coding app 👇👇
==========================================
#swapping
#swaptwonumberswithoutusingthirdvariable
#coding
#programing
#mccoder
==========================================
We are One by Vexento
Free Download / Stream :
Music promoted by Audio Library
Welcome to MC Coder 🤗🤗
In this video we will learn how to swap two numbers without using third variable.
Q. A = 20 and B = 40 perform swapping between A and B without using thrid variable.
Logic :-
A = A + B;
B = A – B;
A = A – B;
Answer :-
Now, we put values of a and b in above logic.
A = 20 + 40 = 60
B = 60 – 40 = 20
A = 60 – 20 = 40
after performing above operation values will be,
A = 40
B = 20
Please subscribe to MC Coder, if this video is helpful for you and never forget to click the bell🔔 icon for never missing my latest videos.
Thanks 😇🙏
==========================================
Swapping between two numbers without using third variable C program
Download code for free by using below link👇👇
==========================================
Download Coding app 👇👇
==========================================
#swapping
#swaptwonumberswithoutusingthirdvariable
#coding
#programing
#mccoder
==========================================
We are One by Vexento
Free Download / Stream :
Music promoted by Audio Library
Frequently Asked Java Program 01: Swap Two Numbers | 5 Ways of swapping Numbers
C++ program to Swap two numbers (Using extra variable) | C++
C Program To Swap Two Numbers using Pointers
#13 Python Tutorial for Beginners | Swap 2 Variables in Python
c program to swap two numbers | learn coding
Swap two numbers | Java
L2. Must Know Tricks in Bit Manipulation | Swap two numbers without third variable
Program to Swap Two Numbers With and Without Using Third Variable in Java by Deepak
Different ways to swap two numbers #education #codinglover #tips
Java in Tamil - Part 29 - Swapping Two Numbers without third variable
Swap Two Numbers Without Using Temporary/ Third Variable | Logic Explained | Java
C37 - Program to swap two numbers with and without using third variable
How To Swap Two Numbers In Java | Swap Two Numbers Program In Java | Java Coding Questions
Java Program to Swap two numbers without using temporary variable with Explanation
Java program to Swap Two Numbers | Learn Coding
Java Program : Swap two numbers without using third variable
C Program To Swap Two Numbers using Function
Java Program #13 - Swap Two Numbers in Java
05 | Java Program To Swap Values Of Two Variables | Java Assignment Operator
ES6 Exercise #1: JavaScript Program to Swap Two Numbers without using Third Variable? #Interview
Swapping Two Numbers in Python | Swap Two Variables in Python | #7 ABC Python Tutorial for Beginners
C++ Example Program to swap two numbers using Third variable
Python Program to Swap Two Numbers using third variable
Swapping of 2 Numbers | Logical Programming in C | Naresh IT
Комментарии