write a program to swap Two numbers without using temp variable.
Answer Posted / harika
main()
{
int a=2,b=3;
a^=b^=a^=b;
printf("%d,%d",a,b);
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How are portions of a program disabled in demo versions?
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
FILE PROGRAMMING
How variables are declared in c?
Why is C language being considered a middle level language?
Explain what is the benefit of using #define to declare a constant?
Why is a semicolon (;) put at the end of every program statement?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
What does do in c?
What are external variables in c?
What is the return type of sizeof?
What do the functions atoi(), itoa() and gcvt() do?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
What is a nested formula?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.