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
Where in memory are my variables stored?
what are the different storage classes in c?
Why we use stdio h in c?
Difference between exit() and _exit() function?
How is null defined in c?
What are the characteristics of arrays in c?
Is malloc memset faster than calloc?
Is it possible to pass an entire structure to functions?
What are the types of bitwise operator?
How can I pad a string to a known length?
What is multidimensional arrays
Explain what is the difference between a free-standing and a hosted environment?
Explain how can I manipulate strings of multibyte characters?
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
What is #include stdio h and #include conio h?