HOW TO SWAP TWO NOS IN ONE STEP?

Answer Posted / sumit

b=abs((a=b)-(a+b));

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the similarities between c and c++?

605


Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

678


Explain high-order bytes.

678


What is the hardest programming language?

673


What are the different types of pointers used in c language?

614






The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none

768


Is this program statement valid? INT = 10.50;

690


Explain what are preprocessor directives?

634


How is = symbol different from == symbol in c programming?

618


What is data structure in c programming?

577


`write a program to display the recomended action depends on a color of trafic light using nested if statments

1635


What does printf does?

753


What is null pointer constant?

598


How can I list all of the predefined identifiers?

583


What are the advantages of external class?

598