How do we swap or interchange any 2 numbers without using
Temporary variable...Anybody can pls answer it.. Thanks in
Advance
Answer Posted / surendra jhajhra
int x,y;
x =x+y;
y =x-y;
x =x-y;
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
How can I find out the size of a file, prior to reading it in?
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
Explain the difference between call by value and call by reference in c language?
Why void main is used in c?
Explain how can a program be made to print the name of a source file where an error occurs?
Do you know the use of fflush() function?
Why is python slower than c?
Do character constants represent numerical values?
In a switch statement, explain what will happen if a break statement is omitted?
Explain what are the advantages and disadvantages of a heap?
What is header file in c?
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical
What is "Duff's Device"?
What is unary operator?
Explain what is a 'locale'?