write a program to swap Two numbers without using temp variable.
Answer Posted / sweety
main()
{
int a=2,b=3;
a=a+b;
b=a-b;
a=a-b;
printf("%d",&a);
printf("%d",&b);
getch();
}
| Is This Answer Correct ? | 72 Yes | 27 No |
Post New Answer View All Answers
How can I implement sets or arrays of bits?
Why is c called "mother" language?
How are structure passing and returning implemented?
Explain what is the benefit of using const for declaring constants?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
What is sorting in c plus plus?
what will be the output for the following main() { printf("hi" "hello"); }
How can I manipulate strings of multibyte characters?
What is void main () in c?
Why double pointer is used in c?
Write a program to check armstrong number in c?
What is your stream meaning?
How can you read a directory in a C program?
What is pointers in c with example?
Tell me with an example the self-referential structure?