How many ways are there to swap two numbers without using
temporary variable? Give the each logic.
Answer Posted / kk
three logic
xor -> a^=b^=a^=b;
addition and subtraction,
multiply and division .......
Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What is the modulus operator?
How do you define a string?
What is difference between structure and union in c programming?
Is anything faster than c?
Can a variable be both static and volatile in c?
What is omp_num_threads?
What is the use of clrscr?
What does %p mean c?
For what purpose null pointer used?
What is your stream meaning?
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
Difference between goto, long jmp() and setjmp()?
Explain setjmp()?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm