write a program to swap Two numbers without using temp variable.
Answer Posted / nikhil godani
a=a+b;
b=a-b;
a=a-b;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does %p mean c?
What are compound statements?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
When c language was developed?
How do you define a string?
Can you please explain the scope of static variables?
What is a node in c?
Why doesnt that code work?
Explain how do you use a pointer to a function?
What is "Hungarian Notation"?
In C programming, what command or code can be used to determine if a number of odd or even?
What are global variables?
provide an example of the Group by clause, when would you use this clause
Does c have enums?
Describe newline escape sequence with a sample program?