how to swap 4 number without using temporary number?
Answer Posted / brinda balakrishnan
a=a+b+c+d;
b=a-(b+c+d);
c=a-(b+c+d);
d=a-(b+c+d);
a=a-(b+c+d);
Is This Answer Correct ? | 25 Yes | 0 No |
Post New Answer View All Answers
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
What is const keyword in c?
Is javascript based on c?
Explain the use of function toupper() with and example code?
What is the auto keyword good for?
What is keyword in c?
What are all different types of pointers in c?
What is the purpose of main( ) in c language?
What is array of structure in c programming?
Explain the term printf() and scanf() used in c language?
Explain how do you use a pointer to a function?
Differentiate call by value and call by reference?
Explain pointer. What are function pointers in C?
What is difference between main and void main?
What is c programing language?