write a program to swap Two numbers without using temp variable.
Answer Posted / nikhil gupta
# 2 a=a+b;
b=a-b;
a=a-b;
| Is This Answer Correct ? | 23 Yes | 7 No |
Post New Answer View All Answers
Can a variable be both constant and volatile?
Explain what is #line used for?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
Explain what math functions are available for integers? For floating point?
What is c value paradox explain?
What is the purpose of void pointer?
Do you know the use of fflush() function?
How can you call a function, given its name as a string?
What are high level languages like C and FORTRAN also known as?
What is the difference between single charater constant and string constant?
How does pointer work in c?
What is the purpose of 'register' keyword in c language?
What is the difference between a string and an array?
What is hash table in c?
What are the types of c language?