write a program to swap Two numbers without using temp variable.
Answer Posted / raghavendra
a=3;
b=2;
a=a^b;
b=a^b;
a=a^b;
printf("%d%d",a,b);
| Is This Answer Correct ? | 34 Yes | 21 No |
Post New Answer View All Answers
what will be the output for the following main() { printf("hi" "hello"); }
i have a written test for microland please give me test pattern
Can we initialize extern variable in c?
What is void c?
How can I open a file so that other programs can update it at the same time?
Explain what is a pragma?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
Explain how do you determine the length of a string value that was stored in a variable?
What is this infamous null pointer, anyway?
Explain is it valid to address one element beyond the end of an array?
What is c token?
Explain the use of keyword 'register' with respect to variables.
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
What are loops in c?
Can you assign a different address to an array tag?