write a program to swap Two numbers without using temp variable.
Answer Posted / prashant
b=a+b;
a=b-a;
b=b-a;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the Difference between the New and Malloc keyword.
What are types of structure?
What is methods in c?
What is non linear data structure in c?
What is scanf_s in c?
Are there namespaces in c?
Explain what are reserved words?
Why #include is used in c language?
What are the 5 types of organizational structures?
Describe newline escape sequence with a sample program?
Do character constants represent numerical values?
What is cohesion in c?
what will be the output for the following main() { printf("hi" "hello"); }
What is pass by value in c?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1