filmov
tv
Swap Two Numbers Using third Variable using C program in Nepali

Показать описание
Swapping of two numbers means, first number becomes second and second number becomes first. For example, if user enters any two number say 10 and 20. And let's suppose the two variables say num1 and num2 holds these two numbers. That is, num1=10 and num2=20. Then after swapping it will be like num1=20 and num2=10
Swapping of two numbers in C, becomes easy using third variable. That is, this program uses a variable named temp that helps a lot while performing the swap operation of given two numbers by user at run-time.
#cprogram
#C
#swap
#innepali
Swapping of two numbers in C, becomes easy using third variable. That is, this program uses a variable named temp that helps a lot while performing the swap operation of given two numbers by user at run-time.
#cprogram
#C
#swap
#innepali