How to swap two variables, without using third variable ?

Answer Posted / anoop pandey

a=a-b
b=a+b
a=b-a

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program for area of circumference of shapes

2040


can you use proc sql to manpulate a data set or would u prefer to use proc report ? if so why ? make up an example and explain in detail

2342


write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30

2228


Cluster head selection in Wireless Sensor Network using C programming language.

3119


Develop a routine to reflect an object about an arbitrarily selected plane

3004






why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

2267


Design an implement of the inputs functions for event mode

2970


how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.

2147


how to test pierrot divisor

2265


What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?

3721


could you please send the program code for multiplying sparse matrix in c????

3079


Write a program to model an exploding firecracker in the xy plane using a particle system

3697


Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?

3861


create a C-code that will display the total fare of a passenger of a taxi if the driver press enter,the timer will stop. Every 10 counts is 2 pesos. Initial value is 25.00

6320


How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?

2032