Program 8 #P08 - Program to Swap Numbers Using Temporary Variable #C118
Channel:
Subscribers:
10,700
Published on ● Video Link: https://www.youtube.com/watch?v=cTtJFTT-HVM
In the above program, the temporaryVariable is assigned the value of firstNumber.
Then, the value of firstNumber is assigned to secondNumber.
Finally, the temporaryVariable (which holds the initial value of firstNumber) is assigned to secondNumber which completes the swapping process.
Here, temporaryVariable is used to hold the value of firstNumber and doesn't have any other use except that. You can also write the swapping program without using temporaryVariable.
#rubalsolutions #coding #developer #programming #programmer #technology #clanguage #computerscience #c #informaticpractices #sub #subscribe #youtube #newyoutuber #youtubechannel
Other Videos By Rubal Solutions
Tags:
computer education
computer education in Hindi
computer education for kids
basic computer training
kids computer
computer for kids
kids technology
rubalsolutions
beginner YouTube
coding
developer
newyoutuber
subscribe
sub
computer-science
#clanguage
#detailedcprogram
c (programming language)
#learn c
c basic programming tutorial
c basic programming in hindi
c basics for beginners
practical use of c programming
Swap
#swap two numbers