write a program to swap Two numbers without using temp variable.

Answer Posted / anil joshi

b=(a*a)/a+(a=b)-a;

Is This Answer Correct ?    13 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is equivalent to ++i+++j?

635


A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

1726


What is getch?

623


What does dm mean sexually?

802


What does calloc stand for?

640






What are the types of variables in c?

571


How do you redirect a standard stream?

615


How was c created?

581


What is difference between array and pointer in c?

532


What does the message "automatic aggregate intialization is an ansi feature" mean?

683


Explain pointer. What are function pointers in C?

617


Why is c platform dependent?

609


what are non standard function in c

1420


What is a memory leak? How to avoid it?

559


How important is structure in life?

580