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
What will be your course of action for a push operation?
Can include files be nested? How many levels deep can include files be nested?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
What is the difference between ++a and a++?
Write the control statements in C language
Explain what is the benefit of using const for declaring constants?
What is int main () in c?
Explain zero based addressing.
What is the difference between a free-standing and a hosted environment?
What is function pointer c?
Is javascript written in c?
What is oops c?
Explain the difference between null pointer and void pointer.
Why dont c comments nest?
How can I discover how many arguments a function was actually called with?