how to swap 4 number without using temporary number?
Answers were Sorted based on User's Feedback
Answer / 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 |
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
Explain what is page thrashing?
How to develop software using "c" programming?
Which one would you prefer - a macro or a function?
What is the difference between volatile and const volatile?
6)swap(int x,y) { int temp; temp=x; x=y; y=temp; } main() { int x=2;y=3; swap(x,y); } after calling swap ,what are yhe values x&y?
how do u find out the number of 1's in the binary representation of a decimal number without converting it into binary(i mean without dividing by 2 and finding out the remainder)? three lines of c code s there it seems...can anyone help
How to compare array with pointer in c?
What will be the output of x++ + ++x?
Explain how do you determine the length of a string value that was stored in a variable?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What is the meaning of int *x[]();?