write a program to swap Two numbers without using temp variable.
Answer Posted / krishana singh
a=a*b;
b=a/b;
a=a/b;
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How can you increase the size of a statically allocated array?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
Why is void main used?
What is #include cctype?
Explain what is meant by high-order and low-order bytes?
Once I have used freopen, how can I get the original stdout (or stdin) back?
Can stdout be forced to print somewhere other than the screen?
Explain what is the difference between #include and #include 'file' ?
Explain union.
What are the functions to open and close the file in c language?
Is c call by value?
What is a function simple definition?
write a program in c language to print your bio-data on the screen by using functions.
Is that possible to store 32768 in an int data type variable?
what is the basis for selection of arrays or pointers as data structure in a program