What does the following code do?
var a, b: integer;
1. a= a+b
2. b= a-b= (a+b)-b= a (from 1)
3. a= a-b= (a+b) - (a) = b (from 1 and 2)
Hence the values are getting exchanged
following link is Kvs_Pgt_Question Paper...