How to swap two integers in c -
Swapping of two integers is an important question as well as very simple.
For swapping two integers we need a third variable
first we will store one of variable into temporary variable then swap like this
let's suppose we have variable a,b and we have to swap these value so we will store
a into temp and then override value of b into a and finally we will override b with temp variable.
follow code below-