Or
/* write a program in c language change between number
without using Third Variable */
Example :- Input number
A= 4 // A is variable
B = 6 // B is variable
Output –
/* Swapping number */
A = 6
B = 4
Understanding algorithms
B = A + B // 4 + 6 = 10// Add A variable and B Variable and copy in B Variable.
A = B – A ; // 10 – 4 = 6
// Sub B variable and A variable and copy in A Variable.
B = B – A ; // 10 – 6 = 4
// Sub B variable and A variable and copy in B Variable.
Let start programming
# include}
1 Comments
amazing content bro
ReplyDeleteIf you have any doubts about the Programming language & Basic Computer. Please let me know.