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 the 4 types of functions?
how to capitalise first letter of each word in a given string?
Which is better malloc or calloc?
What is the use of ?: Operator?
Why c is known as a mother language?
What are the disadvantages of c language?
What is the purpose of ftell?
What is the use of clrscr?
Why c is a mother language?
Differentiate call by value and call by reference?
Explain what are multidimensional arrays?
What is pre-emptive data structure and explain it with example?
Tell me what are bitwise shift operators?
What is a example of a variable?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?