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 are the primitive data types in c?
c language interview questions & answer
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
How can I read data from data files with particular formats?
What is size of union in c?
What are volatile variables in c?
What is the use of void pointer and null pointer in c language?
What is the difference between test design and test case design?
How to Throw some light on the splay trees?
What is the maximum no. of arguments that can be given in a command line in C.?
What is a constant and types of constants in c?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What is c basic?
How can you read a directory in a C program?
How can I discover how many arguments a function was actually called with?