write a program to swap Two numbers without using temp variable.
Answer Posted / chandan
a=a+b;
b=a-b;
a=a-b;
| Is This Answer Correct ? | 1400 Yes | 158 No |
Post New Answer View All Answers
What are structures and unions? State differencves between them.
Which control loop is recommended if you have to execute set of statements for fixed number of times?
What are keywords c?
What is the best way to store flag values in a program?
What does struct node * mean?
How are structure passing and returning implemented?
What are the different types of objects used in c?
Explain how do you declare an array that will hold more than 64kb of data?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
How can you read a directory in a C program?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
What's a good way to check for "close enough" floating-point equality?
Do pointers store the address of value or the actual value of a variable?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
How is a pointer variable declared?