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 is atoi and atof in c?
What is define c?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
how to find binary of number?
With the help of using classes, write a program to add two numbers.
Why c language is called c?
Explain how are 16- and 32-bit numbers stored?
What is malloc return c?
Write a code to remove duplicates in a string.
What is the difference between near, far and huge pointers?
What is a pointer variable in c language?
What are the two forms of #include directive?
What is NULL pointer?
Explain a pre-processor and its advantages.
What is ## preprocessor operator in c?