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
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
Can I initialize unions?
Explain logical errors? Compare with syntax errors.
Differentiate fundamental data types and derived data types in C.
can we implement multi-threads in c.
What is file in c preprocessor?
What are the three constants used in c?
How can I copy just a portion of a string?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
Why are all header files not declared in every c program?
what do the 'c' and 'v' in argc and argv stand for?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
What functions are used for dynamic memory allocation in c language?
Why doesnt that code work?
What should malloc() do?