Write a program to exchange two variaables without temp

Answer Posted / sandeep rehlan

Sir, please explain me the 3rd and 6th answer because both
are the orrect way of swapping of two variables.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c method?

535


What is a buffer in c?

575


How can you access memory located at a certain address?

666


Is it possible to initialize a variable at the time it was declared?

755


When should the register modifier be used? Does it really help?

611






What is the main difference between calloc () and malloc ()?

570


Give the rules for variable declaration?

671


Can a file other than a .h file be included with #include?

684


Why ca not I do something like this?

585


How would you obtain the current time and difference between two times?

726


write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

1627


How can I write a function analogous to scanf?

654


How can I remove the leading spaces from a string?

632


Difference between Function to pointer and pointer to function

627


Why c is called a middle level language?

634