swapping of two numbers without using third variable using
AND and OR operators
Answer Posted / ramesh reddy
a = a^b; b =a^b; a =a^b;
or
a=a+b; b=a-b; a=a-b;
| Is This Answer Correct ? | 43 Yes | 2 No |
Post New Answer View All Answers
Explain how do you print an address?
How to declare pointer variables?
What is the difference between #include and #include 'file' ?
Which of these functions is safer to use : fgets(), gets()? Why?
What is the difference between a string and an array?
difference between object file and executable file
Explain is it better to bitshift a value than to multiply by 2?
Is register a keyword in c?
Are there namespaces in c?
What is the translation phases used in c language?
What is graph in c?
What is p in text message?
What is meant by operator precedence?
What is action and transformation in spark?
Explain what does it mean when a pointer is used in an if statement?