+ 1
What is the difference between void swap(int &,int&)and void swap (int,int)
what is the use of '&' here ??
4 ответов
+ 8
"address-of" operator, it's in the tutorials! ~_~ (…also, this won't work…)
+ 6
swap(int,int) wont work.
+ 2
some code for demo here
https://code.sololearn.com/ckFKDRje4kGV/?ref=app
:-)