write a program to swap Two numbers without using temp variable.
Answer Posted / shubham agarwal
the answer is simple
a=a*b;
b=a/b;
a=a/b;
this is one of the few possible ways to swap
simple app. of +,- can also brong the result
by
shubham agarwal
shubham.agarwal363@yahoo.com from NIT Srinagar
| Is This Answer Correct ? | 8 Yes | 8 No |
Post New Answer View All Answers
Differentiate abs() function from fabs() function.
What is malloc and calloc?
What are unions in c?
How many levels of pointers can you have?
List some of the dynamic data structures in C?
What is an array in c?
What are the different types of linkage exist in c?
What is main return c?
What are disadvantages of C language.
What are the advantages of Macro over function?
What are the c keywords?
What is data types?
What is bubble sort technique in c?
What is self-referential structure in c programming?
Explain why C language is procedural?