Write a macro for swapping integers

Answer Posted / suresh

swap(a,b) a^=b^=a^=b;

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the different types of qualifier in java?

1845


What are the types of abstraction?

560


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

1837


What is polymorphism in oops with example?

533


Who invented oop?

659






Why do we need polymorphism in c#?

688


Why do we use class in oops?

555


What is the types of inheritance?

604


What is abstraction example?

624


Get me an image implementation program.

1559


What are oops functions?

585


What is encapsulation c#?

601


What is advantage of inheritance?

692


What is the point of oop?

656


What is this pointer in oop?

557