posted 18 years ago
what is the output of the this method
i think its
0
200
why its the opposite??
the answer is
200
0
i thought in a certain way
1st p,q have the (0,0) values
than we put them in some method which calls p >>a
q>>b
2nd it puts the values of (100,100) inside of a( which is p)
3rd it puts the values of a into temp
4th it puts the values of b=(0,0) inside a
5th it puts in b the values of temp which are(100,100)
so why its the opposote??