swap two integer variables without using a third temporary
variable?

Answer Posted / abhinav lohar

t=a;
a=b;
b=t;

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a struct c#?

607


Explain the red-black trees?

613


Why header files are used?

651


If fflush wont work, what can I use to flush input?

623


What is substring in c?

645






illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

1590


Where define directive used?

611


A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor

626


how to make a scientific calculater ?

1570


string reverse using recursion

1818


Why is it that not all header files are declared in every C program?

687


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

1640


Can the “if” function be used in comparing strings?

599


What is a lookup table in c?

633


When should you use a type cast?

595