write a program to swap Two numbers without using temp variable.
Answer Posted / nagakishorebabu
a=a+b;
b=a-b;
a=a-b;
printf("a %dand b %dis :",a,b);
Is This Answer Correct ? | 181 Yes | 43 No |
Post New Answer View All Answers
Explain the use of keyword 'register' with respect to variables.
show how link list can be used to repersent the following polynomial i) 5x+2
Is there sort function in c?
how could explain about job profile
Why do we use int main?
Can true be a variable name in c?
What is volatile, register definition in C
What are the usage of pointer in c?
Explain what is page thrashing?
Write a program to check whether a number is prime or not using c?
What are directives in c?
Are there namespaces in c?
What is the difference between exit() and _exit() function?
How can I pad a string to a known length?
What are variables and it what way is it different from constants?