How can we swap two numbers without third variable and without arithmetic operator?
How can we swap two numbers without third variable and without arithmetic operator?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Does XOR count as an arithmetic Operator? If not, then:
Converting this pseudo-code to Java code that compiles is left as an exercise to the reader (with regards to the ‘java’ tag).