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
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is the size of array float a(10)?
What are pointers? Why are they used?
Explain the difference between exit() and _exit() function?
What is the scope of local variable in c?
what will be maximum number of comparisons when number of elements are given?
Is it possible to pass an entire structure to functions?
What are the 5 types of organizational structures?
Explain why C language is procedural?
How is a pointer variable declared?
What is #line used for?
What are keywords in c with examples?
What are two dimensional arrays alternatively called as?
Define C in your own Language.
What is double pointer?