two variables are added answer is stored on not for third
variable how it is possible?
Answer Posted / sujith
I am afraid i understood the question. If the question is
defined like, u need to exchange two variables without using
a temporary variable is,
a += b;
b = a - b;
a = a - b;
Another methos is ,
a ^= b ^= a ^= b;
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Are enumerations really portable?
Write a code to remove duplicates in a string.
What does dm mean sexually?
what are the 10 different models of writing an addition program in C language?
What is the correct declaration of main?
What is the -> in c?
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
What are bitwise shift operators in c programming?
Explain how do you sort filenames in a directory?
What is unary operator?
what do you mean by enumeration constant?
Why clrscr is used in c?
What is the difference between declaring a variable and defining a variable?
What is null character in c?
What do you understand by normalization of pointers?