How to swap values between two variables without using a
third variable?
Answer Posted / siva
You can also do it with the exclusive or bitwise operator...
a = a ^ b;
b = a ^ b; ((a ^ b) ^ b == a)
a = a ^ b; ((a ^ b) ^ a == b)
| Is This Answer Correct ? | 27 Yes | 8 No |
Post New Answer View All Answers
Write a pseudo code to evaluate a number to any base given (2...16) based on the input. Number greater than 9 should be given as A-F for 10-15.
In mainframe SDSF, Can we copy the list of jobs currently executing in SDSF in to a seperate DATASET...?
Which language they use during interview?
How to connect to ms word wit VB ojective is to prepare s/w to generate question paper , selects questions randomly from the ms access , database
What is the difference between CLEAR & RESET and OPEN & CLOSE OPCOEDS(USING RPG/400).wheare we can use this?can any body tell me in real time senario with example please?
they asked me about srs (software requirement specifcation)? how can i get anydocumentation about srs & other documnts infomation like bdd, in testing? its urgent?
Difference between HTML and DHTML?
How to connect the .accdb database file of microsoft access to the Visual Basic 6.0 forms?
iam confused among testing ,.net and java. can anybody help me.
define profiler???
how to convert hashmap to arraylist with iteration
what are the differences between CONS, LIST, and APPEND
what is the work of 1tier,2tier,&ntier? Plz Explain it!
details description on this mantis? who is founder of this mantis?
why we use abstract in awt?