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
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
Why void main is used in c?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
Explain what is meant by high-order and low-order bytes?
What is #include cctype?
Why is it usually a bad idea to use gets()? Suggest a workaround.
Do pointers need to be initialized?
Can a void pointer point to a function?
how to count no of words,characters,lines in a paragraph.
What is difference between union and structure in c?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
What is an lvalue?
What is a MAC Address?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
What are near, far and huge pointers?